Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 11th, 2006, 08:33 PM
Registered User
Join Date: Sep 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Proxy class method calls: No error, No data!

Hi I've been experiencing troubles generating and using proxy classes to a web service in VS 2005.

I've successfully generated the correct (as far as I'm aware) classes from the wsdl document and am able to send the desired request to the web service by a proxy class method call. But, the fields of the object that are returned from the proxy class' method are uninitialized (null or zero). No error is raised. I don't understand why it is not parsed/deserialized correctly.

Please help.

Below are snippets of the wsdl doc and the soap message returned.

<?xml version="1.0" encoding="UTF-8"?>
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
      <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
      <complexType name="Response">
          <element name="statusCode" type="xsd:int"/>
          <element name="message" type="xsd:string"/>
      <complexType name="resetTransferMonitorResponse">
        <complexContent><extension base="bders:Response"/></complexContent>

  <message name="resetTransferMonitorResponse">
    <part name="resetTransferMonitorReturn" type="bders:resetTransferMonitorResponse"/>
  <message name="resetTransferMonitorRequest">
    <part name="resellerId" type="xsd:int"/>
    <part name="resellerUsername" type="xsd:string"/>
    <part name="resellerPassword" type="xsd:string"/>
    <part name="frequency" type="xsd:long"/>

  <portType name="BDResellerWebServices">
    <operation name="resetTransferMonitor" parameterOrder="resellerId resellerUsername resellerPassword frequency">
      <input name="resetTransferMonitorRequest" message="bders:resetTransferMonitorRequest"/>
      <output name="resetTransferMonitorResponse" message="bders:resetTransferMonitorResponse"/>

  <binding name="BDERSSoapBinding" type="bders:BDResellerWebServices">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="resetTransferMonitor">
      <wsdlsoap:operation soapAction=""/>
      <input name="resetTransferMonitorRequest">
        <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://bders"/>
      <output name="resetTransferMonitorResponse">
        <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://bders"/>

  <service name="BDERS">


<?xml version="1.0" encoding="UTF-8"?>
    <bders:resetTransferMonitorResponse xmlns:bders="http://bders">
      <bders:resetTransferMonitorReturn xsi:type="bders:resetTransferMonitorResponse">
        <bders:statusCode xsi:type="xsd:int">0</bders:statusCode>
        <bders:message xsi:type="xsd:string">Will monitor every 21600 seconds.</bders:message>

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
program that calls its method automatically mfahadwallam Java Basics 3 January 29th, 2008 06:50 AM
complile error : method or data member not found! Tasha Access VBA 6 May 1st, 2007 03:49 PM
Method calls within same class w/Interface gmontanaro C# 0 April 6th, 2006 05:44 PM
object parameters to remote method calls DotNetJunk General .NET 1 April 29th, 2005 04:02 AM
Third party program library method calls invocatio yeeck VB Components 0 June 20th, 2003 01:33 AM

All times are GMT -4. The time now is 08:41 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.