ALawrence007
asked on
VB.Net Web Service Soap Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:CHG_ChangeInterface_WS">
<soapenv:Header>
<urn:AuthenticationInfo>
<urn:userName>?</urn:userName>
<urn:password>?</urn:password>
<!--Optional:-->
<urn:authentication>?</urn:authentication>
<!--Optional:-->
<urn:locale>?</urn:locale>
<!--Optional:-->
<urn:timeZone>?</urn:timeZone>
</urn:AuthenticationInfo>
</soapenv:Header>
<soapenv:Body>
<urn:Change_QueryList_Service>
<urn:Qualification>'Scheduled End Date' >= "11/01/2012"</urn:Qualification>
<urn:startRecord>1</urn:startRecord>
<urn:maxLimit>5</urn:maxLimit>
</urn:Change_QueryList_Service>
</soapenv:Body>
</soapenv:Envelope>
Hi all,I have not done this before and I really need a sample of code to get me started.
Using SoapUIPro I am able to get the following soap request to work and to download the results. I need to be able to convert this into a small VB.Net application, but I do not know how and where to start.
Would it be possible to provide me with some sample code to download the Soap and then process the results?
Thanks
Ps: I removed the user name and password for this post.
Were you provided a WSDL file for this service?
Also, what version of VS are you using?
ASKER
I am using Visual Studio 2010.
I was given a WSDL for the service and included it in my test app, but I can't seem to find the "Get" method. I attached a XML file with the WSDL included.
Thanks
CHG-ChangeInterface-WS.xml
I was given a WSDL for the service and included it in my test app, but I can't seem to find the "Get" method. I attached a XML file with the WSDL included.
Thanks
CHG-ChangeInterface-WS.xml
Using the WSDL, have you added a "Service Reference" to this service ?
ASKER
I have. See attached image
Service-Reference.jpg
Service-Reference.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
kaufmed,
This answers my question, but I get the follosing error while running the code:
"The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element"
How do I change the maximum size?
Thanks
This answers my question, but I get the follosing error while running the code:
"The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element"
How do I change the maximum size?
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks kaufmed. This worked great!