Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using complex type namespace
Message
De
31/08/2010 11:41:13
 
 
À
31/08/2010 08:24:02
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01479214
Message ID:
01479440
Vues:
32
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?
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform