wsdl2java classes for SOAP V1.2 wsdl

hi All,

In my application, we get binary data from a web service which accepts SOAP V1.2 request and returns response. One complex type in the service schema is given below.


<xsd:complexContent>
	<xsd:extension base="DocumentSummaryType">
		<xsd:sequence>
			<xsd:choice>
				[b]<xsd:element minOccurs="0" name="Content" type="xsd:base64Binary"
					xmime:expectedContentTypes="application/octet-stream" />[/b]
				<xsd:element minOccurs="0" name="File" type="xsd:string" />
			</xsd:choice>
		</xsd:sequence>
	</xsd:extension>
</xsd:complexContent>
</xsd:complexType>

When I created connector for this service in my page bean, along with the stub classes it generated a .map file. Below is the equivalent complex type generated in .map file for the above mentioned schema.


<xsd:complexType map:class='com.webmethods.caf.wsclient.myservicesoap12.DocumentType' name='DocumentType'>
      <xsd:complexContent>
        <xsd:extension base='n3:DocumentSummaryType'>
          <xsd:sequence>
            <xsd:choice>
              [b]<xsd:element map:property='Content' minOccurs='0' name='Content' type='xsd:base64Binary'></xsd:element>[/b]
              <xsd:element map:property='File' minOccurs='0' name='File' type='xsd:string'></xsd:element>
            </xsd:choice>
          </xsd:sequence>
        </xsd:extension>
      </xsd:complexContent>
    </xsd:complexType>

In it’s equivalent stub class ‘DocumentType’ - member variable ‘Content’ is incorrectly defined as type byte. But if I create connector using JAX-WS API, member variable ‘Content’ is correctly defined as type javax.activation.DataHandler.

Does glue.jar file present in designer libraries (and in MWS server libraries) supports SOAP V1.2 schema for wsdl2java conversion?

Environment details:

  1. webMethods 7.1.3
  2. Glue 6.5.1 Fix 11

Kind regards,
Raja sekhar Kintali