Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

XSD generation Issue  RSS feed

Andy Barky
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ranchers,

I am developing the web service with bottom up approach.

Here is my main class method signature
public MPWResponse updateAccount(String userId, String buyer_Id, int prog_Id, String token, String fName, String lName, String zip, String email, String status, boolean registered)

and below is my WSDL entry
<xsd:import namespace="" schemaLocation="MainService_schema1.xsd"/>
<message name="updateAccount">
<part element="tns:updateAccount" name="parameters"/>
<message name="updateAccountResponse">
<part element="tns:updateAccountResponse" name="parameters"/>

and below is my XSD entry
<xs:element name="updateAccount" type="tns:updateAccount"/>

<xs:element name="updateAccountResponse" type="tns:updateAccountResponse"/>


<xs:complexType name="updateAccount">
<xs:element minOccurs="0" name="arg0" type="xs:string"/>
<xs:element minOccurs="0" name="arg1" type="xs:string"/>
<xs:element name="arg2" type="xs:int"/>
<xs:element minOccurs="0" name="arg3" type="xs:string"/>
<xs:element minOccurs="0" name="arg4" type="xs:string"/>
<xs:element minOccurs="0" name="arg5" type="xs:string"/>
<xs:element minOccurs="0" name="arg6" type="xs:string"/>
<xs:element minOccurs="0" name="arg7" type="xs:string"/>
<xs:element minOccurs="0" name="arg8" type="xs:string"/>
<xs:element name="arg9" type="xs:boolean"/>

I am trying to print userId instead of arg0 in XSD. This name parameter has only "arg0" and so on in XSD. Everytime, I generate the WSDL and XSD automatically, It overwrites. I am using the eclipse and windows. Does anybody have any idea how this can be achieved?

Thanks for help in advance,


- WS rookie
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!