Hello,
When running the jibx2wsdl tool on a service that has an array of primitives
as part of an input message, the generated element names don't match in the
WSDL.
WRONG:
public SomeResult getObjects(String sessionId, int[] objectsIds);
=>
<xsd:element name="getObjects">
<xsd:complexType>
<xsd:sequence>
<xsd:element type="xsd:string" name="arg1" minOccurs="0"/>
<xsd:element type="xsd:int" name="arg2" minOccurs="0"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
OK:
public SomeResult getObject(String sessionId, int objectId);
=>
<xsd:element name="getObject">
<xsd:complexType>
<xsd:sequence>
<xsd:element type="xsd:string" name="sessionId" minOccurs="0"/>
<xsd:element type="xsd:int" name="objectId"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
Gerry
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users