Re: Consuming Web Service via WSDL Files

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Continuation from previous (incomplete) response.

Look out for WebService-I (WS-I) Basic Profile specifications. It seems your
Java webservice is at fault... or the tool that generated the WSDL.

--
Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.org
http://www.edujini.in
-------------------


"Anbu" <Anbu.Thangarathinam@xxxxxxxxx> wrote in message
news:1147866380.181363.27940@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi All,

I have some wsdl files generated by a Java web service. During the
development phase, I may not have access to the Java web service. So
I'm trying to consume the web service from .NET through WSDL.exe
generated stub.

When I generate stub using wsdl.exe, it throws following warning:

Warning: This web reference does not conform to WS-I Basic Profile
v1.1.
R2754: In a DESCRIPTION, the value of the name attribute on a
soapbind:fault element MUST match the value of the name attribute on
its parent wsdl:fault element.

R2726: An rpc-literal binding in a DESCRIPTION MUST NOT have the
namespace attribute specified on contained soapbind:header,
soapbind:headerfault and soapbind:fault elements.

R2203: An rpc-literal binding in a DESCRIPTION MUST refer, in its
soapbind:bodyelement(s), only to wsdl:part element(s) that have been
defined using the type attribute.

But the stub files are generated with these warning messages. I'm not
sure what will be the impact of these warnings on the final product.

I need a suggestion, whether can i proceed with these warnings.

Thanks in Advance,
Anbu



.



Relevant Pages

  • Consuming Web Service via WSDL Files
    ... I have some wsdl files generated by a Java web service. ... Warning: This web reference does not conform to WS-I Basic Profile ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Sharepoint Report Pack
    ... process the STS and IIS logs just fine, however, I get two errors ... WARNING: Unable to access the the folders for the site "C1" at the URL ... I am able to browse to the web service page without a problem other ...
    (microsoft.public.sharepoint.windowsservices)
  • Problem reflecting java web service
    ... I am trying to reflect java web service with wsdl.exe - the wsdl is very ... requests, so I did it with /serverInterface flag. ... when my .net WebService ...
    (microsoft.public.dotnet.framework.webservices)
  • planner/watcher web service?
    ... There's a web-based project I'm working on, which my boss insists ... "watcher" users, monitoring activities and performing them when time ... Would you call this a good candidate for a java web service? ...
    (comp.lang.java)
  • Re: calling java webservice from .net
    ... You can call a Java Web Service exactly like a .NET Web Service. ... You don't need WSE for basic Web Service operation, you need WSE if you want ... intercept SOAP Request and Response with MS SOAP Trace Utility include ...
    (microsoft.public.dotnet.framework.webservices)