axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sedukhin, Igor" <>
Subject RE: Wsdl2java doesn't generate type classes
Date Thu, 28 Feb 2002 20:53:32 GMT
You're using document/literal encoding (according to WSDL). The work is in
progress on the Axis client to support this.
Just change your ASP.NET app to use SOAP-ENC instead of document/literal.
Here is how:

public class MyService : System.Web.Services.WebService
	.	.	.

-- Igor Sedukhin .. (
-- (631) 342-4325 .. 1 CA Plaza, Islandia, NY 11788

-----Original Message-----
From: Lasker, Kory [] 
Sent: Thursday, February 28, 2002 12:08 PM
To: ''
Subject: Wsdl2java doesn't generate type classes

  I've been banging my head against the post here trying to consume a web
service that's been exposed for our use.  However, when I try to generate
the client code from the WSDL I get the portType interface, the server-side
portType interface, and the client-side stub but none of the complex types
are created.  Is there an issue with the WSDL or Axis?

  Here's what --verbose says about my types:

Parsing XML file:  /home/klasker/src/lava/config/coastal.wsdl

name:          com.qwest.ndlec.lava.ValidateAddress_Type
isReferenced?  true
Emit?: false
Base?: false
Node:  [s:element: null]

name:          java.lang.String
isReferenced?  true
Emit?: false
Base?: true
Node:  null

  Below is an partial dump from the types section (the complete WSDL is
attached).  Does anyone have an idea what's going on?


    <s:schema attributeFormDefault="qualified"
elementFormDefault="qualified" targetNamespace="">
      <s:element name="ValidateAddress">
            <s:element minOccurs="1" maxOccurs="1" name="strTN"
nillable="true" type="s:string" />      
            <s:element minOccurs="1" maxOccurs="1" name="strBname"
nillable="true" type="s:string" />   
            <s:element minOccurs="1" maxOccurs="1" name="strBaddress"
nillable="true" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="strState"
nillable="true" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="strCity"
nillable="true" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="strZip"
nillable="true" type="s:string" />
      <s:element name="ValidateAddressResponse">
            <s:element minOccurs="1" maxOccurs="1"
name="ValidateAddressResult" type="s:boolean" />   
            <s:element minOccurs="1" maxOccurs="1" name="strOutXml"
nillable="true" type="s:string" />

View raw message