| Vikas Nahata [MSFT] 2004-07-09, 3:31 pm |
| Can you please attach the WSDL you are trying to add or point to the url
for the wsdl file.
If there is no array type in the WSDL file you should be able to add it as
a web reference
--------------------
| >>Thread-Topic: consuming Webservice with complex data type issue
| >>thread-index: AcRayxtfQwoEGlQiRsOsi6r69Z73PQ==
| >>X-WBNR-Posting-Host: 65.170.227.50
| >>From: =?Utf-8?B?c2Zo?= <sfh@discussions.microsoft.com>
| >>Subject: consuming Webservice with complex data type issue
| >>Date: Fri, 25 Jun 2004 08:43:05 -0700
| >>Lines: 23
| >>Message-ID: <02602BFE-1574-4840-BACB-571C97CD169D@microsoft.com>
| >>MIME-Version: 1.0
| >>Content-Type: text/plain;
| >> charset="Utf-8"
| >>Content-Transfer-Encoding: 7bit
| >>X-Newsreader: Microsoft CDO for Windows 2000
| >>Content-Class: urn:content-classes:message
| >>Importance: normal
| >>Priority: normal
| >>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| >>Newsgroups: microsoft.public.biztalk.general
| >>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 127.0.0.1
| >>Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA
03.phx.gbl
| >>Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.general:16645
| >>X-Tomcat-NG: microsoft.public.biztalk.general
| >>
| >>We are trying to consume a webservice within a BizTalk orchestration.
When we try to create a web reference to this external web service from
BizTalk project we get an error "Failed to create Web reference", on one
ocassion we also got a message " Array type not supported in web
services...". The web service consumes a complex type. Its definition is
below
| >>
| >><orderdata>
| >> <ordernumber />
| >> <orderdate />
| >> <Party />
| >> <Party />
| >> .....
| >> <Attachment />
| >> <Attachment />
| >></orderdata>
| >>
| >>It also returns a complex type with definition similar to the above
one. The BizTalk documentation mentions that arrays couldn't be passed or
returned from web services. In our case it doesn't look like that we are
passing or returning an array types (though within each document we do have
array types like "Party" and "Attachment"). Question is whehter this
scenario supported in BizTalk? Should we be able to send and receive these
documents from the web service? I have also noticed that Add Web Reference
tool doesn't show the signatures of this web service correctly. The actual
signature looks like:
| >>
| >>SaveOrder(data As OrderData)
| >>
| >>The tool shows it as SaveOrder( As )
| >>
| >>To me it looks like BizTalk is unable to interprate the definition of
the complex type.
| >>
| >>Any help is greatly appreciated.
| >>
| >>Thanks.
| >>
This posting is provided "AS IS" with no warranties, and confers no rights.
EBusiness Server Team
|