[JBoss JIRA] Updated: (JBWS-1285) java.lang.NullPointerException is thrown when the soap encoded array size is 0 on the return path
by Thomas Diesler (JIRA)
[ http://jira.jboss.com/jira/browse/JBWS-1285?page=all ]
Thomas Diesler updated JBWS-1285:
---------------------------------
Fix Version/s: (was: jbossws-1.0.5)
> java.lang.NullPointerException is thrown when the soap encoded array size is 0 on the return path
> --------------------------------------------------------------------------------------------------
>
> Key: JBWS-1285
> URL: http://jira.jboss.com/jira/browse/JBWS-1285
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jaxrpc
> Affects Versions: jbossws-1.0.2
> Environment: windows, linux, jdk1.5
> Reporter: George Gan
> Fix For: jbossws-1.2.0
>
> Attachments: SOAPBindingProvider.java
>
>
> java.lang.NullPointerException
> at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:718)
> at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404)
> at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148)
> at $Proxy132.compoundSearch(Unknown Source)
> at mil.dcgs.mdf.webservice.legacy.spi.WebServiceCatalogProvider.performSearch(WebServiceCatalogProvider.java:301)
> ... 40 more
> Caused by: java.lang.NullPointerException
> at org.jboss.ws.binding.soap.SOAPBindingProvider.getParameterFromMessage(SOAPBindingProvider.java:736)
> at org.jboss.ws.binding.soap.SOAPBindingProvider.unbindResponseMessage(SOAPBindingProvider.java:519)
> at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:702)
> ... 44 more
> The exception is caused by array size = 0. The patched code is attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months
[JBoss JIRA] Created: (JBWS-1386) ComplexType with base64Binary property
by Thomas Diesler (JIRA)
ComplexType with base64Binary property
--------------------------------------
Key: JBWS-1386
URL: http://jira.jboss.com/jira/browse/JBWS-1386
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jaxrpc
Reporter: Thomas Diesler
Assigned To: Thomas Diesler
Fix For: jbossws-1.0.5
I am using JBoss 4.0.4 with jbossws 1.0.3GA. I am developing a WS DII client which talks with a third party Web Service. I am having problems serializing one field which is specified as "base64Binary" on the WSDL:
Code:
<xsd:complexType name="BinaryData">
<xsd:sequence>
<xsd:element name="data" type="xsd:base64Binary"
nillable="true"/>
<xsd:element name="mimeType" type="xsd:string"
nillable="true"/>
<xsd:element name="URL" type="xsd:string" nillable="true"/>
<xsd:element name="removeOnUpdate" type="xsd:boolean"
nillable="false"/>
</xsd:sequence>
The "data" field should be sent as a Base64 String. Although, the Request SOAP message has the following data:
Code:
<ns1:data xmlns:ns1="urn:drm/ingest-ex/IngestService/SchemaTypes">
<ns1:data>-1</ns1:data>
<ns1:data>-40</ns1:data>
<ns1:data>-1</ns1:data>
<ns1:data>-32</ns1:data>
......
<ns1:mimeType>image/jpeg</ns1:mimeType>
<ns1:URL xsi:nil="1"/>
<ns1:removeOnUpdate>false</ns1:removeOnUpdate>
</ns1:data>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months