• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to Consume D2WS via .NET
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to Consume D2WS via .NET


  • Subject: Re: How to Consume D2WS via .NET
  • From: Mike Schrag <email@hidden>
  • Date: Sat, 16 Jun 2007 12:42:48 -0400

You should put this under the WebServices section of the wikibook ...

ms

On Jun 15, 2007, at 7:26 PM, email@hidden wrote:

For some reason the WSDL from D2WS isn't as well done as .NET users need. For this reason I've made this little How-To for them and it may help others on this list to know. Here it is in short:

.NET INSTRUCTIONS FOR CONSUMING WO D2WS...
To more easily consume these services with .NET, you need to make a few minor modifications:
• try using the WS client tool inside the VS.Net IDE, do "Add Web Reference", and give it the URL
• manually change all of the references to the name "Class" to "[Class]"
• manually change the inconsistent namespace references from "default" to "http://WOserveraddress/";


Here is the simple method:
Figure out that you manually edit the code generated by the parser. That's normally hidden from view. Specifically, in the IDE, highlight the project name, and select "Project...Show All Files" from the top menu. Then expand the "Web References" tree, then the specific service, then the Reference Map, then edit the Reference.vb (or .cs if using C#) file.


After you point it to the URL for the WSDL, it grabs the WSDL file, parses it and spews all the code needed to connect. The resulting classes then just become available to your project, same as any other.

IF STILL TROUBLESOME, ALSO TRY
After pulling the xml down and editing it locally (changing Class to [Class] and default to the ip) and adding the reference, remove-
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"; targetNamespace="http://lang.java/";>
<xsd:complexType name="[Class]">
<xsd:sequence />
</xsd:complexType>
</xsd:schema>
from each of the wsdl’s.




Hope this proves helpful.

--Mat
______________________________________________________________________ __
AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com.
=0
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mdimension.com


This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How to Consume D2WS via .NET (From: email@hidden)

  • Prev by Date: Duplicate objects in a relationship
  • Next by Date: Re: Moving to Eclipse...at least trying...[Solved]
  • Previous by thread: How to Consume D2WS via .NET
  • Next by thread: D2WS, Fetch with Stored Procedure?
  • Index(es):
    • Date
    • Thread