Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using complex type namespace
Message
From
31/08/2010 11:45:10
 
 
To
31/08/2010 11:41:13
General information
Forum:
ASP.NET
Category:
Web Services
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01479214
Message ID:
01479442
Views:
18
Aren't you making the assumption that the web service was .NET based - that may well not be the case.....

>I'm pretty sure that you will need to have their DLL that contains their "CustomClientNamespace" so you can reference it in the project where you are calling their methods. Have they given that to you?
>
>~~Bonnie
>
>
>
>>>Java heads have a tendency to "usurp" the word standard to mean "standard in the java environment", using it for conventions like sessionID managment in doc headers AFAIK not covered by WS semantics. And you are often better off just reimplementing before you get in to discussions [at least when the other side is gov. employed <vbg>]
>>
>>Just to be sure, here is what I have in the upper part of the WSDL. Basically, I have adjusted it to avoid reflecting the client content:
>>
>>
>><?xml version="1.0" encoding="utf-8"?>
>><wsdl:definitions
>> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>> xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
>> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
>> xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
>> xmlns:tns="CustomClientNamespace"
>> xmlns:s="http://www.w3.org/2001/XMLSchema"
>> xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
>> xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
>> targetNamespace="CustomClientNamespace"
>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
>>  <wsdl:types>
>>    <s:schema elementFormDefault="qualified" targetNamespace="CustomClientNamespace">
>>      <s:element name="ClientMethod">
>>        <s:complexType>
>>          <s:sequence>
>>            <s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string" />
>>            <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
>>            <s:element minOccurs="0" maxOccurs="1" name="Document" type="tns:CustomClientStructure" />
>>          </s:sequence>
>>        </s:complexType>
>>      </s:element>
>>      <s:complexType name="CustomClientStructure">
>>        <s:sequence>
>>          <s:element minOccurs="1" maxOccurs="1" name="CustomClientSubStructureName" type="tns:CustomClientSubStructure" />
>>        </s:sequence>
>>      </s:complexType>
>>      <s:complexType name="CustomClientSubStructure">
>>        <s:sequence>
>>          <s:element minOccurs="0" maxOccurs="1" name="MyField" type="s:string" />
>>        </s:sequence>
>>      </s:complexType>
>>    </s:schema>
>>
>>
>>Do you see a way for me to access this Web Service in .NET?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform