Failed to add a Web Reference.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Failed to add a Web Reference.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Failed to add a Web Reference.  
Biff


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-22-04 01:47 AM

I am trying to add a Web Reference to a BizTalk project.  I open the
Web Reference dialog, navigate to the Service's URL, find the WSDL and
click Add Reference.  A dialog then comes up titled WebReference and
displaying "Failed to add a Web Reference."  There is no additional
error info that I can find.

The web service is built in J2EE and I can add a reference to it in a
.NET WinForms project.  I created a brand new Biztalk project and got
the same results, so my project is not corrupted.  The methods return
an array of structures and I'm wondering if that is what is tripping up
Visual Studio.  The signature of one of the methods is-

public MyProject.ValidationService.XmlTagError[] validate (
System.String lineOfBusiness , System.String asOf , System.String
xmlData , System.Boolean useStrictSyntax , System.Boolean
allowUnknownOuterTags )

XmlTag Error is a simple structure with three string properties - the
definition is in the WSDL and shows up properly when importing to the
WinForms project.

Is this too complicated a signature for BizTalk to import?
Biff Gaut
Gaithersburg, MD






[ Post a follow-up to this message ]



    Re: Failed to add a Web Reference.  
Jon Flanders


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-22-04 01:47 AM

Xlangs (the language that BizTalk is using to create the proxy class)
doesn't support arrays.  So it is the return value that is causing the
trouble.

So you have two options:

1) Create a .NET component to call the webservice.
2) Use the HTTP Adapter and send the correct XML body via it.

HTH

--
Jon Flanders
http://staff.develop.com/jfland/
"Biff" <biff_gaut@hotmail.com> wrote in message
news:1103676117.625449.185810@f14g2000cwb.googlegroups.com...
> I am trying to add a Web Reference to a BizTalk project.  I open the
> Web Reference dialog, navigate to the Service's URL, find the WSDL and
> click Add Reference.  A dialog then comes up titled WebReference and
> displaying "Failed to add a Web Reference."  There is no additional
> error info that I can find.
>
> The web service is built in J2EE and I can add a reference to it in a
> .NET WinForms project.  I created a brand new Biztalk project and got
> the same results, so my project is not corrupted.  The methods return
> an array of structures and I'm wondering if that is what is tripping up
> Visual Studio.  The signature of one of the methods is-
>
> public MyProject.ValidationService.XmlTagError[] validate (
> System.String lineOfBusiness , System.String asOf , System.String
> xmlData , System.Boolean useStrictSyntax , System.Boolean
> allowUnknownOuterTags )
>
> XmlTag Error is a simple structure with three string properties - the
> definition is in the WSDL and shows up properly when importing to the
> WinForms project.
>
> Is this too complicated a signature for BizTalk to import?
> Biff Gaut
> Gaithersburg, MD
>







[ Post a follow-up to this message ]



    Re: Failed to add a Web Reference.  
Biff


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-22-04 01:47 AM

Thanks for the quick reply.  I will make accomodations.

Biff






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:33 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register