function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
tony534tony534 

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
wsdl address: http://temp003.s3.amazonaws.com/FastLanePlus.wsdl
Message Edited by tony534 on 10-06-2009 06:51 PM