[jbossws-issues] [JBoss JIRA] Updated: (JBWS-1386) ComplexType with base64Binary property
Thomas Diesler (JIRA)
jira-events at jboss.com
Fri Dec 22 12:53:58 EST 2006
[ http://jira.jboss.com/jira/browse/JBWS-1386?page=all ]
Thomas Diesler updated JBWS-1386:
---------------------------------
Fix Version/s: jbossws-1.0.5
> 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.2.0, 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
More information about the jbossws-issues
mailing list