>LOCAL o as MSSOAP.SoapClient30 >o = CREATEOBJECT("MSSOAP.SoapClient30") >cXMLFile=FILETOSTR("file.xml") >lcUrl = "http://10.10.17.44:50000/dir/wsdl?p=ic/9aaf555740af331f91df86e61322415c" > >TRY > o.MSSoapInit(lcUrl) > o.ConnectorProperty("AuthUser") = 'MyUser' > o.ConnectorProperty("AuthPassword") = "MyPass" > o.ConnectorProperty("ConnectTimeout")=5000 > o.ConnectorProperty("Timeout")=10000 > > o.UploadRequest( cXMLFile) > >CATCH TO loException > MESSAGEBOX(loException.message,16,"Error") >ENDTRY >>
> <xsd:element name="UploadRequest"> > <xsd:complexType> > <xsd:sequence> > <xsd:element name="fileName" type="xsd:string"/> > <xsd:element name="fileData" type="xsd:string"/> > <xsd:element name="companyId" type="xsd:string"/> > <xsd:element name="accountId" type="xsd:string"/> > </xsd:sequence> > </xsd:complexType> > </xsd:element> > >