Subject:WSDLOperation:Initializing of the input message failed for operation Author:sudhakar sharma Date:25 Nov 2005 07:48 AM
hi, i have to create vb client that consume .net web service, i allready created java client with same wsdl file.
my vb client code is
"====================================================="
Dim soapclient As MSSOAPLib30.SoapClient30
Dim strwsdl As String
Dim output As String
Set soapclient = New MSSOAPLib30.SoapClient30
strwsdl = "D:\vb\gsoapclient\GSoapWS.wsdl"
soapclient.ClientProperty("ServerHTTPRequest") = True
soapclient.MSSoapInit (strwsdl)
"========================================================"
when i have to create vb client i received these errors
"WSDLOperation:The operation UploadFile had an invalid parts attribute HRESULT=0x80004005: Unspecified error
- WSDLOperation:Initializing of the input message failed for operation UploadFile HRESULT=0x80004005: Unspecified error
- WSDLPort:An operation for port GSoapWS could not be initialized HRESULT=0x80004005: Unspecified error
- WSDLPort:Analyzing the binding information for port GSoapWS failed HRESULT=0x80004005: Unspecified error
- WSDLService:Initialization of the port for service GSoapWS failed HRESULT=0x80004005: Unspecified error
- WSDLReader:Analyzing the WSDL file failed HRESULT=0x80004005: Unspecified error
- Client:One of the parameters supplied is invalid. HRESULT=0x80070057: The parameter is incorrect."
please please help me out for the same....milons thanks
Subject:WSDLOperation:Initializing of the input message failed for operation Author:(Deleted User) Date:28 Nov 2005 09:12 AM
Sudhakar,
There is nothing in your post which indicates the problem is related to Stylus Studio, but if you attach the wsdl file, we have some wsdl experts who have agreed to take a look at it.
Subject:WSDLOperation:Initializing of the input message failed for operation Author:sudhakar sharma Date:01 Dec 2005 03:39 AM
HI CLYDE , I M SENDING YOU MY WSDL FILE ..PLEASE HAVE A LOOK ON IT..I HAVE TO CREATE A VB CLIENT THAT CONSUME .NET SERVICE.
I USED SOAPCLIENT 3.0
THESE ARE ERROR WHICH I GET ..
WSDLService:Processing service GSoapWS found no port definitions HRESULT=0x80070057: The parameter is incorrect.
- WSDLReader:Analyzing the WSDL file failed HRESULT=0x80070057: The parameter is incorrect.
- Client:One of the parameters supplied is invalid. HRESULT=0x80070057: The parameter is incorrect.
CAN YOU HAVE MEESENGER ID (SKYPE,MSN OR YAHOO) FOR THAT WE COMMUNICATE DIRECTLY.
Subject:WSDLOperation:Initializing of the input message failed for operation Author:sudhakar sharma Date:07 Dec 2005 02:20 AM
Hi Ivan.thanks for viewing my problem..as per urs suggestions ..i make change in my wsdl file( change soap12 to soap)..but still i gots same errors in my vb client..i m sending you my wsdl file along with errors lists..plz help me out for the same...
errors are->>>>>>>>
=================================================================
WSDLOperation:The operation UploadFile had an invalid parts attribute HRESULT=0x80004005: Unspecified error
- WSDLOperation:Initializing of the input message failed for operation UploadFile HRESULT=0x80004005: Unspecified error
- WSDLPort:An operation for port GSoapWS could not be initialized HRESULT=0x80004005: Unspecified error
- WSDLPort:Analyzing the binding information for port GSoapWS failed HRESULT=0x80004005: Unspecified error
- WSDLService:Initialization of the port for service GSoapWS failed HRESULT=0x80004005: Unspecified error
- WSDLReader:Analyzing the WSDL file failed HRESULT=0x80004005: Unspecified error
- Client:One of the parameters supplied is invalid. HRESULT=0x80070057: The parameter is incorrect.
======================================================================
Subject:WSDLOperation:Initializing of the input message failed for operation Author:sudhakar sharma Date:10 Dec 2005 12:37 AM
HI Ivan ..tons of thaNKs..urs wsdl file works fine...
but i have another problem..do u have some idea regarding complex type in soap toolkit3.0..becoz i have to use complex type within complex type..if u have some example how to use complex type....
can u give me some idea ragdring perl soaplite tool
Subject:pass base64binary Author:sudhakar sharma Date:21 Dec 2005 03:32 AM
Hi ivan this is my vb code..i face problem when i send byte array...plz help me in this..when i send byte array ..it shows garbage data on server..plz help me for the same
Dim Connector As SoapConnector30
Dim Serializer As SoapSerializer30
Dim Reader As SoapReader30
Dim ResultElm As IXMLDOMElement
Dim FaultElm As IXMLDOMElement
Dim END_POINT_URL As String
Dim SoapAction As String
Dim CALC_NS As String
'Preapare the SOAP Request
Set Serializer = New SoapSerializer30
Serializer.Init Connector.InputStream
Serializer.StartEnvelope
Serializer.StartBody
Serializer.StartElement Method, CALC_NS ' Setting Method name
Serializer.StartElement "a", CALC_NS
Serializer.WriteBuffer 4, byBuf(0) 'This data is not pass correctly in server
Serializer.EndElement
Serializer.EndElement
Serializer.EndBody
Serializer.EndEnvelope
Connector.EndMessage
'Reading Webservice Response
Set Reader = New SoapReader30
Reader.Load Connector.OutputStream