Hi All,
I have used the Import WSDL introspection tool by Flex builder and I manage
to go around all the hassles and finally able to contact the web services
endpoint of the WS server.
BTW, thanks to Seth Hodgson for taking time to answer my queries in my
previous emails and also to Josh McDonald.
But right now i'm getting a user error:
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>com.netledger.common.schemabean.NLSchemaBeanException: passport
not found on {urn:core_2008_1.platform.webservices.netsuite.com
}Passport</faultstring>
<detail>
<ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">
partners-java008.svale.netledger.com</ns1:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
Erroneous SOAP request I got from the logs:
<SOAP-ENV:Body>
<ns0:login xmlns:ns0="urn:
messages_2008_1.platform.webservices.netsuite.com">
<ns0:login>
<ns0:passport>
<platformCore:email xmlns:platformCore="urn:
core_2008_1.platform.webservices.netsuite.com">clemen</platformCore:email>
<platformCore:password xmlns:platformCore="urn:
core_2008_1.platform.webservices.netsuite.com
">********</platformCore:password>
<platformCore:account xmlns:platformCore="urn:
core_2008_1.platform.webservices.netsuite.com">724168</platformCore:account>
<platformCore:role internalId="3" type=""
xmlns:platformCore="urn:core_2008_1.platform.webservices.netsuite.com">
<platformCore:name xsi:nil="true"/>
</platformCore:role>
</ns0:passport>
</ns0:login>
</ns0:login>
</SOAP-ENV:Body>
Looking at the SOAP request, I realized that the "login" element was
generated twice. I believe this was a problem coming from the generated AS
classes.
Has anyone who used the WSDL introspection tool experienced this before?
Any help or ideas will be appreciated.
Thanks in advance.
Clem