Append "?wsdl" to the access point URL to retrieve the WSDL.

On 12/21/06, sam sam <[EMAIL PROTECTED]> wrote:
Hi,

I was under the impression that all web services generated from .Net start with 
IBD tag. Do you know what is the command from the browser to generate the wsdl 
file for the .Net service? To tell my client to use it so that he can send me 
the proper wsdl.

I also found many articles on the net that deals with .Net web services and 
that consuming these webservices is different on .Net from web services 
generated on other platforms.

 this is how the xml file starts:


  <?xml version="1.0" encoding="utf-8"  ?>

  - <IBDst xmlns="http://tempuri.org/IBDirectory/IBSrv";;>

   - <xs:schema id="IBDst" targetNamespace="http://tempuri.org/IBDst.xsd";; xmlns:mstns="http://tempuri.org/IBDst.xsd";;  
xmlns="http://tempuri.org/IBDst.xsd";;  xmlns:xs="http://www.w3.org/2001/XMLSchema";; xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" 
attributeFormDefault="qualified" elementFormDefault="qualified">

   - <xs:element name="IBDst" msdata:IsDataSet="true">

   - <xs:complexType>

   - <xs:choice maxOccurs="unbounded">

   - <xs:element name="TblCard">

   - <xs:complexType>

   - <xs:sequence>

     <xs:element name="CARDNUM" type="xs:string"  />










thx.
Sam.




----- Original Message ----

From: Anne Thomas Manes <[EMAIL PROTECTED]>

To: [email protected]

Sent: Tuesday, December 19, 2006 10:49:49 PM

Subject: Re: calling a .net web service from java



The <IBDst> document does not describe a web service. If the service

you're trying to access is really a .NET web service, it will have a

WSDL file. If it doesn't have a WSDL, it isn't a web service.



Anne



On 12/19/06, sam sam <[EMAIL PROTECTED]> wrote:

> Hi,

> I was able to successfully calling a web service from java having the 
following header:

> <?xml version="1.0"

> encoding="UTF-8" ?>

>

> + <wsdl:definitions

> targetNamespace="urn:DefaultNamespace" xmlns="http://schemas.xmlsoap.org/wsdl/";;; 
xmlns:apachesoap="http://xml.apache.org/xml-soap";;;

>

>

> however when I am using a .Net I have the following header:

>   <?xml

> version="1.0" encoding="utf-8" ?>

>

> - <IBDst xmlns="http://tempuri.org/IBDirectory/IBSrv";;;>

>

> - <xs:schema id="IBDst" targetNamespace="http://tempuri.org/IBDst.xsd";;; 
xmlns:mstns="http://tempuri.org/IBDst.xsd";;; xmlns="http://tempuri.org/IBDst.xsd";;; 
xmlns:xs="http://www.w3.org/2001/XMLSchema";;; xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"

> attributeFormDefault="qualified" elementFormDefault="qualified">

>

>

> - <xs:element name="IBDst" msdata:IsDataSet="true">

>

>

> I am using WSDL2java, it is giving me this error:

>  WSDLException (at /IBDst): faultCode=INVALID_WSDL: Expected element 
'{http://sch

> emas.xmlsoap.org/wsdl/}definitions'.:

>

>

> what can I do in order to write a java file to call my .net web service?

>

> thx.

> sam.

>

>

>

> __________________________________________________

> Do You Yahoo!?

> Tired of spam?  Yahoo! Mail has the best spam protection around

> http://mail.yahoo.com

>

> ---------------------------------------------------------------------

> To unsubscribe, e-mail: [EMAIL PROTECTED]

> For additional commands, e-mail: [EMAIL PROTECTED]

>

>



---------------------------------------------------------------------

To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]










__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to