You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Sagar Pidaparthi <Sa...@chordiant.com> on 2005/05/17 00:02:04 UTC

microsoft wsdl tool does not work on the wsdl that I generated for my Service

Hi,

 

I am trying to work on inter operability and I find that my axis
generated wsdls are not easily consumed by wsdl tool from mircosoft.
This wsdl is in wrapped literal mode.

 

I am attaching my wsdl, and would appreciate if any body can help.

 

I use axis 1.1, and I downloaded wsdl tool just recently.

 

Please find below the error message

 

Regards

 

Sagar

 

E:\ChordiantWebServices\ChordiantDOTNETClients>wsdl
C:\workspace\b1077\ChordiantUtils\WebServices\WSDL\AccountClientAgentDoc
Lit.wsdl

Microsoft (R) Web Services Description Language Utility

[Microsoft (R) .NET Framework, Version 1.1.4322.573]

Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

 

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://schemas.xmlsoap.org/soap/encoding/' is not available to be
referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://schemas.xmlsoap.org/soap/encoding/' is not available to be
referenced in this schema.

Schema validation warning: Namespace
'http://schemas.xmlsoap.org/soap/encoding/' is not available to be
referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://schemas.xmlsoap.org/soap/encoding/' is not available to be
referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://baseBusinessClasses.bd.chordiant.com' is not available to be
referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://customerInformationCorporateBusinessClasses.businessServices.cho
rdiant.com' is not available to be referenced in this schema.

Schema validation warning: Namespace
'http://baseBusinessClasses.bd.chordiant.com' is not available to be
referenced in this schema.

Schema validation warning: Namespace
'http://baseBusinessClasses.bd.chordiant.com' is not available to be
referenced in this schema.

Schema validation warning: Namespace
'http://baseBusinessClasses.bd.chordiant.com' is not available to be
referenced in this schema.

Schema validation warning: Namespace 'http://xml.apache.org/xml-soap' is
not available to be referenced in this schema.

Schema validation warning: Namespace
'http://baseBusinessClasses.bd.chordiant.com' is not available to be
referenced in this schema.

Schema validation warning: Namespace
'http://baseBusinessClasses.bd.chordiant.com' is not available to be
referenced in this schema.

Error: Unable to import binding 'AccountClientAgentDocLit' from
namespace 'http://wrapper.webservice.chordiant.com'.

  - Unable to import operation
'getAllPartyRolesForAccount_partyRoleName'.

  - Referenced type 'http://schemas.xmlsoap.org/soap/encoding/:Array' is
only valid for encoded SOAP.

 

If you would like more help, please type "wsdl /?".

 

E:\ChordiantWebServices\ChordiantDOTNETClients>C:\workspace\b1077\Chordi
antUtils\WebServices\WSDL\AccountClientAgentDoc


Re: microsoft wsdl tool does not work on the wsdl that I generated for my Service

Posted by Anne Thomas Manes <at...@gmail.com>.
I suggest that you upgrade to Axis 1.2.

The errors are caused by the fact that you cannot reference an element
or type from a different namespace unless you first import the
namespace into the schema. The WSDL defines multiple schemas (each
with a different namespace), and the first and third schemas reference
entities from other namespaces, but they don't import these
namespaces. You can fix the WSDL by adding the appropriate import
stataments, like so:

<schema targetNamespace="http://wrapper.webservice.chordiant.com"
xmlns="http://www.w3.org/2001/XMLSchema">
  <import namespace="http://xml.apache.org/xml-soap"/>
  <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
  <import namespace="http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com"/>
  <import namespace="http://baseBusinessClasses.bd.chordiant.com"/>
  ...
</schema>

and

<schema targetNamespace="http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com"
xmlns="http://www.w3.org/2001/XMLSchema">
  <import namespace="http://xml.apache.org/xml-soap" />
  <import namespace="http://baseBusinessClasses.bd.chordiant.com"/>
  ...
</schema>

But even if you do that, I suspect you'll have problems because your
schema uses a soapenc:array type, and .NET will barf on that when
using literal encoding.

These problems are fixed in Axis 1.2.

Anne


On 5/16/05, Sagar Pidaparthi <Sa...@chordiant.com> wrote:
>  
>  
> 
> Hi, 
> 
>   
> 
> I am trying to work on inter operability and I find that my axis generated
> wsdls are not easily consumed by wsdl tool from mircosoft.  This wsdl is in
> wrapped literal mode. 
> 
>   
> 
> I am attaching my wsdl, and would appreciate if any body can help. 
> 
>   
> 
> I use axis 1.1, and I downloaded wsdl tool just recently. 
> 
>   
> 
> Please find below the error message 
> 
>   
> 
> Regards 
> 
>   
> 
> Sagar 
> 
>   
> 
> E:\ChordiantWebServices\ChordiantDOTNETClients>wsdl
> C:\workspace\b1077\ChordiantUtils\WebServices\WSDL\AccountClientAgentDocLit.wsdl
> 
> Microsoft (R) Web Services Description Language Utility 
> 
> [Microsoft (R) .NET Framework, Version 1.1.4322.573] 
> 
> Copyright (C) Microsoft Corporation 1998-2002. All rights reserved. 
> 
>   
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://schemas.xmlsoap.org/soap/encoding/' is not
> available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://schemas.xmlsoap.org/soap/encoding/' is not
> available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://schemas.xmlsoap.org/soap/encoding/' is not
> available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://schemas.xmlsoap.org/soap/encoding/' is not
> available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://baseBusinessClasses.bd.chordiant.com' is not
> available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://customerInformationCorporateBusinessClasses.businessServices.chordiant.com'
> is not available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://baseBusinessClasses.bd.chordiant.com' is not
> available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://baseBusinessClasses.bd.chordiant.com' is not
> available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://baseBusinessClasses.bd.chordiant.com' is not
> available to be referenced in this schema. 
> 
> Schema validation warning: Namespace 'http://xml.apache.org/xml-soap' is not
> available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://baseBusinessClasses.bd.chordiant.com' is not
> available to be referenced in this schema. 
> 
> Schema validation warning: Namespace
> 'http://baseBusinessClasses.bd.chordiant.com' is not
> available to be referenced in this schema. 
> 
> Error: Unable to import binding 'AccountClientAgentDocLit' from namespace
> 'http://wrapper.webservice.chordiant.com'. 
> 
>   - Unable to import operation
> 'getAllPartyRolesForAccount_partyRoleName'. 
> 
>   - Referenced type
> 'http://schemas.xmlsoap.org/soap/encoding/:Array' is only
> valid for encoded SOAP. 
> 
>   
> 
> If you would like more help, please type "wsdl /?". 
> 
>   
> 
> E:\ChordiantWebServices\ChordiantDOTNETClients>C:\workspace\b1077\ChordiantUtils\WebServices\WSDL\AccountClientAgentDoc
>