axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J. Matthew Pryor" <>
Subject RE: consuming axis in .net
Date Fri, 01 Feb 2002 01:28:20 GMT
With the CVS version, I have been able to get Axis to generate correct stubs
for .Net developed WebService I believe

e.g. if the WSDL declares a type thus

- <s:element name="GetCardType">
- <s:complexType>
- <s:sequence>
  <s:element minOccurs="1" maxOccurs="1" name="CardNumber" type="s:string"

and a message thus :
- <message name="GetCardTypeSoapIn">
  <part name="parameters" element="s0:GetCardType" />

Axis will generate a stub like

retType getCardType(String CardNumber)

It odes have a problem if the minoccurs is zero rather than one, but that is
possibly an error in the WSDL that should say nillable="true" rather than


> -----Original Message-----
> From: Jorge Balderas []
> Sent: Friday, February 01, 2002 11:50 AM
> To:
> Subject: RE: consuming axis in .net
> I have succesfully consumed an AXIS web service using .NET,
> please refer to
> this url for further detail:
> However, I haven't been able to do the reverse process, i.e. to consume a
> .NET service using AXIS and I believe it's the way that the WSDL is
> generated by .NET, in which for most -if not all- data types are
> declared as
> complex types, which java2wsdl leaves unbound, or at least that's
> what I can
> tell from the autogenerated stub files. I recently received an
> email on how
> to instruct in C# code not to use complex types, but I haven't
> had a chance
> to try it.
> Jorge.
> -----Original Message-----
> From: Andrew Stopford []
> Sent: Thursday, January 31, 2002 7:38 PM
> To:
> Subject: consuming axis in .net
> Hi,
> Apologies if I cross any ground covered ground here but I was wondering if
> anyone has successfully consumed axis using .net beta 2 ?
> I have created a simple .jws file, this runs fine using axis. I have also
> created a simple .net web service and that works fine in .net so
> I know .net
> and axis are working ok.
> Using visual studio .net beta 2 I can add the .jws?wsdl file as a web
> referance and access its methods within the enviroment. If I
> however run the
> code a SoapException is returned (time out error)
> Any clues, is this approach best or is another approach better ?
> Anyone who
> does this before I would be thankful for a heads up.
> Thanks
> Andrew

View raw message