Link to home
Start Free TrialLog in
Avatar of ALawrence007
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>

Open in new window

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.
Avatar of kaufmed
kaufmed
Flag of United States of America image

Were you provided a WSDL file for this service?
Also, what version of VS are you using?
Avatar of ALawrence007
ALawrence007

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
Using the WSDL, have you added a "Service Reference" to this service ?
I have. See attached image
Service-Reference.jpg
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks kaufmed. This worked great!