Add attributes to Web Service Response

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Mike Lynch (openair_at_online.nospam)
Date: 03/31/04


Date: Wed, 31 Mar 2004 10:16:07 -0800

I am attempting to create a web service that accepts and returns messages in the style outlined below:
Request:
<JourneyWeb version="1.0"><request>request content</request></JourneyWeb>

Response:
<JourneyWeb version="1.0"><response>response content</response></JourneyWeb>

I've managed to modify the response element names, but am at a loss as to how to add the 'version' attribute to the JourneyWeb element. I've tried creating a WSDL file from a service without the attribute, added the attribute to the schema definition, and then used wsdl.exe to create a stub class from the modified WSDL, but it appears to ignore the attribute.

Any pointers would be much appreciated.

Regards



Relevant Pages

  • Re: Web listener
    ... This is rather more like the response that I was expecting. ... mv.net - makes it pretty rapid to build a web service and have it ... know if q pointers are a d3 specific thing) ... was that there is a bug with d3 and phantom usage where if you are ...
    (comp.databases.pick)
  • Re: Calculate Number of Years, Months and Days between 2 dates
    ... Thanks again for your response. ... Thanks again for any pointers. ... Regards. ... Prev by Date: ...
    (comp.databases.ms-access)
  • RE: Help consuming third part web services
    ... // The web.config defines the target URL for the web service. ... string xResp = x.AuthenticateUser; ... report the response to the caller. ... I don't think I have a Client Proxy such as is created with WSDL.EXE ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Securing files stored in virtual directory
    ... multiple attachments. ... local file to an attachment, and the web service would receive ... the key as the response from the save step. ... and that exists still in the database. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: What happend to this group.
    ... I was weaving citizens to overseas Felix, who's recommending ... surprising stuffs in response to a embassy. ... round the integrated midnight is the circle that promises inside. ... perfect, rival, and regards with regard to the tournament. ...
    (sci.crypt)