Last modified by Pascal Robert on 2007/09/03 19:40

Hide last authors
smmccraw 1.1 1 **.NET Instructions:**
Pascal Robert 4.1 2 To more easily consume these services with .NET, your .NET users need to make a few minor modifications:
smmccraw 1.1 3
Pascal Robert 4.1 4 • try using the WS client tool inside the VS.Net IDE, do "Add Web Reference", and give it the URL
smmccraw 1.1 5
Pascal Robert 4.1 6 • manually change all of the references to the name "Class" to "[[doc:WO.Class]]"
smmccraw 1.1 7
Pascal Robert 4.1 8 • manually change the inconsistent namespace references from "default" to "http:~/~/serveraddress.com" (the address of the server with the service)
smmccraw 1.1 9
10 **Here is the simple method:**
11
Pascal Robert 4.1 12 Figure out that you manually edit the code generated by the parser. That's normally hidden from view. Specifically, in the IDE, highligh 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.
smmccraw 1.1 13
Pascal Robert 4.1 14 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.
smmccraw 1.1 15
16 **If you are still having trouble also try:**
17
Pascal Robert 4.1 18 After pulling the xml down for dealers and transactions and editing it locally (changing Class to [WO:Class] and default to the ip) I was able to add the reference, but it did not build until I completely removed
Pascal Robert 3.1 19
20 {{code}}
21
22 <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://lang.java/">
23 <xsd:complexType name="[Class]">
24 <xsd:sequence />
25 </xsd:complexType>
26 </xsd:schema>
27
28 {{/code}}
29
smmccraw 1.1 30 from each of the wsdl's.
31
32 **FOR WebObjects Users:**
33
34 .NET doesn't like multiRefs so in the Server.wsdd file change this parameter to false:
Pascal Robert 4.1 35 {{code language="none"}}<parameter name="sendMultipleRefs" value="true"/>{{/code}}
smmccraw 1.1 36
Pascal Robert 4.1 37 ~-~-Mat Johnson