BizTalk Server - webservice generation - orchestration

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > August 2004 > webservice generation - orchestration





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author webservice generation - orchestration
Raj

2004-07-28, 6:09 pm

Hi,
Iam trying to publish an orchestration (which works fine with FILE,HTTP,SMTP Adapter) as a webService.The publishing wizard didnt complain of any errors but when I tried to access the wsdl or asmx file thro' browser, it just gave an error as below!Seems l
ike its complaining on some internal stuff (XsdTypes1,XsdTypes2) which it created.Any clue?All I can think of is changing the type names in the input and output schema!
:-(

InvalidOperationException: Types ProcessOrder.XsdTypes1.BusinessObjectDocument and ProcesssOrder.XsdTypes2.BusinessObjectDocument both use the XML type name, BusinessObjectDocument, from namespace http://www.processorder.org/processorder. Use XML attribut
es to specify a unique XML name and/or namespace for the type.]
System.Xml.Serialization.XmlReflectionImporter.GetTypeMapping(String typeName, String ns, TypeDesc typeDesc) +229
System.Xml.Serialization.XmlReflectionImporter.ImportStructLikeMapping(StructModel model, String ns) +353
System.Xml.Serialization.XmlReflectionImporter.ImportStructLikeMapping(StructModel model, String ns) +651
System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel model, String ns, ImportContext context, String dataType, Boolean repeats) +440

Everett Yang

2004-07-29, 5:50 pm

The webmethod generated from the wizard takes complex types as argument.
Are you trying to consume the web service by browsing to it? It is better
to test orchestration exposed as web service programmatically from a client.


Sincerely,


Everett Yang
DSI - Microsoft BizTalk Server

This posting is provided “AS IS” with no warranties, and confers no rights.
Subscribe at
http://support.microsoft.com/defaul...msdn/nospam.asp
&SD=msdn

Raj

2004-07-29, 5:50 pm

Everett,
Thanks a lot for the response.
I had to go manually change the type names in the generated class out of the wizard.Then Iam able to access the wsdl using the browser but still Iam not able to get a successful response out of the webservice..Iam able to submit the request to the server
and the message crosses the orchestration but on the send pipeline it always receives a transmission failure with exit code 0x8000FFFF.There is not much details other than that and no clue in the event viewer as well.I have tried submitting by creating c#
console application as well but no good.
:-(
Raj

"Everett Yang" wrote:

> The webmethod generated from the wizard takes complex types as argument.
> Are you trying to consume the web service by browsing to it? It is better
> to test orchestration exposed as web service programmatically from a client.
>
>
> Sincerely,
>
>
> Everett Yang
> DSI - Microsoft BizTalk Server
>
> This posting is provided “AS IS” with no warranties, and confers no rights.
> Subscribe at
> http://support.microsoft.com/defaul...msdn/nospam.asp
> &SD=msdn
>
>

Everett Yang

2004-08-27, 6:06 pm

You can check the message in HAT to get more information as to why the
message is suspended.

Sincerely,


Everett Yang
DSI - Microsoft BizTalk Server

This posting is provided “AS IS” with no warranties, and confers no rights.
Subscribe at
http://support.microsoft.com/defaul...msdn/nospam.asp
&SD=msdn

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com