![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
The following is the SOAP response from my customer 's intranet based web service. From my VB app I call: Response = getOrdersForDateRange(94, #8/28/2007#, #8/29/2007#) and this is what comes back: soapenv:Envelope soapenv:Body soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" getOrdersForDateRangeResponse FilteredOrders href="#id0"/ /getOrdersForDateRangeResponse multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns1829687187:FormatBFilter" ns1829687187:filterId xsi:type="xsd:int">94</ns1829687187:filterId ns1829687187:Orders href="#id5"/ /multiRef |
#3
| |||
| |||
|
|
The following is the SOAP response from my customer 's intranet based web service. From my VB app I call: Response = getOrdersForDateRange(94, #8/28/2007#, #8/29/2007#) and this is what comes back: soapenv:Envelope soapenv:Body soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" getOrdersForDateRangeResponse FilteredOrders href="#id0"/ /getOrdersForDateRangeResponse multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns1829687187:FormatBFilter" ns1829687187:filterId xsi:type="xsd:int">94</ns1829687187:filterId ns1829687187:Orders href="#id5"/ /multiRef |
#4
| |||
| |||
|
|
"Jonathan Attree" <JonathanAttree (AT) discussions (DOT) microsoft.com> wrote in message news:58DC8A04-1107-4DC1-9734-2F90602CABBA (AT) microsoft (DOT) com... The following is the SOAP response from my customer 's intranet based web service. From my VB app I call: Response = getOrdersForDateRange(94, #8/28/2007#, #8/29/2007#) and this is what comes back: soapenv:Envelope soapenv:Body soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" getOrdersForDateRangeResponse FilteredOrders href="#id0"/ /getOrdersForDateRangeResponse multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns1829687187:FormatBFilter" ns1829687187:filterId xsi:type="xsd:int">94</ns1829687187:filterId ns1829687187:Orders href="#id5"/ /multiRef Jonathan, did you try creating proxy classes using Add Web Reference? That way, the proxy classes would take care of any deserializing, and you'd have nice objects to use in your code (and to persist to your database). -- John Saunders [MVP] |
#5
| |||
| |||
|
|
"Jonathan Attree" <JonathanAttree (AT) discussions (DOT) microsoft.com> wrote in message news:58DC8A04-1107-4DC1-9734-2F90602CABBA (AT) microsoft (DOT) com... The following is the SOAP response from my customer 's intranet based web service. From my VB app I call: Response = getOrdersForDateRange(94, #8/28/2007#, #8/29/2007#) and this is what comes back: soapenv:Envelope soapenv:Body soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" getOrdersForDateRangeResponse FilteredOrders href="#id0"/ /getOrdersForDateRangeResponse multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns1829687187:FormatBFilter" ns1829687187:filterId xsi:type="xsd:int">94</ns1829687187:filterId ns1829687187:Orders href="#id5"/ /multiRef Jonathan, did you try creating proxy classes using Add Web Reference? That way, the proxy classes would take care of any deserializing, and you'd have nice objects to use in your code (and to persist to your database). -- John Saunders [MVP] |
#6
| |||
| |||
|
| "John Saunders [MVP]" wrote: "Jonathan Attree" <JonathanAttree (AT) discussions (DOT) microsoft.com> wrote in message news:58DC8A04-1107-4DC1-9734-2F90602CABBA (AT) microsoft (DOT) com... The following is the SOAP response from my customer 's intranet based web service. From my VB app I call: Response = getOrdersForDateRange(94, #8/28/2007#, #8/29/2007#) and this is what comes back: soapenv:Envelope soapenv:Body soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" getOrdersForDateRangeResponse FilteredOrders href="#id0"/ /getOrdersForDateRangeResponse multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns1829687187:FormatBFilter" ns1829687187:filterId xsi:type="xsd:int">94</ns1829687187:filterId ns1829687187:Orders href="#id5"/ /multiRef Jonathan, did you try creating proxy classes using Add Web Reference? That way, the proxy classes would take care of any deserializing, and you'd have nice objects to use in your code (and to persist to your database). -- John Saunders [MVP] Hi John Thanks for the reply. I've done a few 'Walkthroughs' from Help etc so know how the Add Web Reference thing works. My problem is that the web service is on my customers intranet so I can't access it from my development machine so I can't create a web reference to access its objects. All I do have is the .wsdl and .xsd files. Can I find out what objects are returned from these? |
#7
| |||
| |||
|
| "John Saunders [MVP]" wrote: "Jonathan Attree" <JonathanAttree (AT) discussions (DOT) microsoft.com> wrote in message news:58DC8A04-1107-4DC1-9734-2F90602CABBA (AT) microsoft (DOT) com... The following is the SOAP response from my customer 's intranet based web service. From my VB app I call: Response = getOrdersForDateRange(94, #8/28/2007#, #8/29/2007#) and this is what comes back: soapenv:Envelope soapenv:Body soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" getOrdersForDateRangeResponse FilteredOrders href="#id0"/ /getOrdersForDateRangeResponse multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns1829687187:FormatBFilter" ns1829687187:filterId xsi:type="xsd:int">94</ns1829687187:filterId ns1829687187:Orders href="#id5"/ /multiRef Jonathan, did you try creating proxy classes using Add Web Reference? That way, the proxy classes would take care of any deserializing, and you'd have nice objects to use in your code (and to persist to your database). -- John Saunders [MVP] Hi John Thanks for the reply. I've done a few 'Walkthroughs' from Help etc so know how the Add Web Reference thing works. My problem is that the web service is on my customers intranet so I can't access it from my development machine so I can't create a web reference to access its objects. All I do have is the .wsdl and .xsd files. Can I find out what objects are returned from these? |
#8
| |||
| |||
|
|
Jonathan, did you try creating proxy classes using Add Web Reference? That way, the proxy classes would take care of any deserializing, and you'd have nice objects to use in your code (and to persist to your database). -- John Saunders [MVP] Hi John Thanks for the reply. I've done a few 'Walkthroughs' from Help etc so know how the Add Web Reference thing works. My problem is that the web service is on my customers intranet so I can't access it from my development machine so I can't create a web reference to access its objects. All I do have is the .wsdl and .xsd files. Can I find out what objects are returned from these? In the Add Web Reference dialog, simply point to the .WSDL file. You don't need the actual service. In fact, all the actual service does it return the WSDL and schemas. -- John Saunders [MVP] Thanks again. |
#9
| |||
| |||
|
|
Jonathan, did you try creating proxy classes using Add Web Reference? That way, the proxy classes would take care of any deserializing, and you'd have nice objects to use in your code (and to persist to your database). -- John Saunders [MVP] Hi John Thanks for the reply. I've done a few 'Walkthroughs' from Help etc so know how the Add Web Reference thing works. My problem is that the web service is on my customers intranet so I can't access it from my development machine so I can't create a web reference to access its objects. All I do have is the .wsdl and .xsd files. Can I find out what objects are returned from these? In the Add Web Reference dialog, simply point to the .WSDL file. You don't need the actual service. In fact, all the actual service does it return the WSDL and schemas. -- John Saunders [MVP] Thanks again. |
#10
| |||
| |||
|
|
Jonathan, did you try creating proxy classes using Add Web Reference? That way, the proxy classes would take care of any deserializing, and you'd have nice objects to use in your code (and to persist to your database). -- John Saunders [MVP] Hi John Thanks for the reply. I've done a few 'Walkthroughs' from Help etc so know how the Add Web Reference thing works. My problem is that the web service is on my customers intranet so I can't access it from my development machine so I can't create a web reference to access its objects. All I do have is the .wsdl and .xsd files. Can I find out what objects are returned from these? In the Add Web Reference dialog, simply point to the .WSDL file. You don't need the actual service. In fact, all the actual service does it return the WSDL and schemas. -- John Saunders [MVP] Thanks again. That was the first thing I tried and it added the web reference fine but I still can't access the service's methods. The service name is 'obom' and when I type: Dim ws As New obom.Service it says 'Type obom.Service is not defined' |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |