You need to sign in to do that
Don't have an account?
tony534
web service "s:any" question
I generated an apex class from the WSDL class generator.
From the stub, before I invoke "UploadFile(String Token,UploadSeek.xmlFastlaneFile_element xmlFastlaneFile)" method.
I have to initial the "xmlFastlaneFile", but the "xmlFastlaneFile_element" class definition is
public class xmlFastlaneFile_element {
private String[] apex_schema_type_info = new String[]{'http://webservices.seek.com.au','true','false'};
private String[] field_order_type_info = new String[]{};
}
I have to input xml file to the class "xmlFastlaneFile_element"
Also I noticed input XML file connect to the <s:any/> in the wsdl file.
the final request soap like:
POST /FastLanePlus.asmx HTTP/1.1
Host: webservices.seek.com.au
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://webservices.seek.com.au/UploadFile"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<UploadFile xmlns="http://webservices.seek.com.au">
<Token>string</Token>
<xmlFastlaneFile>xml</xmlFastlaneFile>
</UploadFile>
</soap:Body>
</soap:Envelope>
the problem is that I don't know how to transfer XML file to the String[] field_order_type_info in xmlFastlaneFile_element class.
the wsdl address: http://temp003.s3.amazonaws.com/FastLanePlus.wsdl
ANY help is greatly appreciated.
Regards