XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
sudhakar sharmaSubject: 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

Postnext
(Deleted User) 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.

Clyde

Postnext
sudhakar sharmaSubject: 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.

tHANKS
sUDHAKAR sHARMA


DocumentGSoapWS.wsdl
WSDL FILE

Postnext
Ivan PedruzziSubject: WSDLOperation:Initializing of the input message failed for operation
Author: Ivan Pedruzzi
Date: 01 Dec 2005 12:09 PM
The WSDL in question is using a SOAP binding (xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap12/")
that is not supported by Microsoft SOAP Toolkit.

if you change the binding in the WSDL to be xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"
you may be able to run it, it is no guarantee.

Hope this helps
Ivan Pedruzzi
Stylus Studio Team

Postnext
sudhakar sharmaSubject: 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.
======================================================================

thanks
Suhdakar Sharma


DocumentGSoapWS(1).wsdl
wsdl file

Postnext
Ivan PedruzziSubject: WSDLOperation:Initializing of the input message failed for operation
Author: Ivan Pedruzzi
Date: 07 Dec 2005 10:49 AM
The operation "UploadFile" uses an unknown part
The attached WSDL should work.

Hope this helps
Ivan Pedruzzi
Stylus Studio Team


DocumentGSoapWS1.wsdl

Postnext
sudhakar sharmaSubject: 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

thanks
Sudhakar Sharma

Posttop
sudhakar sharmaSubject: 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

Dim byBuf(10) As Byte ' Byte array to store data
END_POINT_URL = "http://192.168.96.36/sample1.asmx?WSDL"
SoapAction = "http://tempuri.org/"
CALC_NS = "http://tempuri.org/"

byBuf(0) = 65 ' Initialize the byte array
byBuf(1) = 66
byBuf(2) = 67
byBuf(3) = 68
byBuf(4) = 69
byBuf(5) = 70
Set Connector = New HttpConnector30
Connector.Property("EndPointURL") = END_POINT_URL
Connector.Connect

' binding/operation/soapoperation
Connector.Property("SoapAction") = SoapAction & Method
Connector.BeginMessage

'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


thanks
sudhakar sharma

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.