I am using the same tool, wsdl.exe, from .Net 1.1.  Do
you have complex array types and are you using soap
rpc encoding with Axis 1.1?


--- Brian Davis <[EMAIL PROTECTED]> wrote:

> What tool are you using in .Net? I use the command
> line tool wsdl.exe and it
> seems to work flawlessly with WSDL generated by
> Axis.
> 
> Brian Davis
> Software Developer
> JMM Ventures
> 
> -----Original Message-----
> From: John Deviney [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, January 06, 2005 6:35 PM
> To: [EMAIL PROTECTED]
> Subject: Axis - .Net Interop Problems
> 
> Problem: 
> ========
> The .Net 1.1 wsdl tool does not like the wsdl
> generated by Axis 1.1.  The datatype 'Array' is
> missing.
> 
> 
> Environment:
> ============
> Jboss 3.2.3/Axis 1.1 - .NET 1.1
> 
> Hosting services via Axis SOAP RPC Encoding which
> include complex types and arrays of other complex
> types.
> 
> 
> I've searched all over the web and found a number of
> threads indicating the same problem but 
> I haven't seen any definitive solutions to this
> problem.  I looked through postings for Axis 1.2 RC2
> and
> it looks like 1.2 has new and different issues with
> the same interop scenario.  But, some people say
> they've been
> able to get this to work in Axis 1.1.  How, remains
> a
> mystery to me.
> 
> The source of the problem for .NET appears to be the
> type, soapenc:Array.
> 
> Does anyone have a working solution?
> 
> I've included the .Net wsdl output and Axis wsdl
> below
> for reference.
> 
> 
> .Net wsdl output:
> =================
> D:\TOSPrototype\SimpleWSClient>wsdl
>
http://localhost:8080/jboss-net/services/AgentService?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://util.twia.org' is not available to be
> referenced in this schema.
> Schema validation warning: Namespace
> 'http://util.twia.org' is not available to be
> referenced in this schema.
> Schema validation warning: Namespace
>
'http://localhost:8080/jboss-net/services/AgentService'
> is not available to be refe
> renced in this schema.
> Schema validation warning: Namespace
> 'http://util.twia.org' is not available to be
> referenced in this schema.
> Schema validation warning: Namespace
> 'http://util.twia.org' is not available to be
> referenced in this schema.
> Schema validation warning: Namespace
> 'http://util.twia.org' is not available to be
> referenced in this schema.
> Schema validation warning: Namespace
>
'http://localhost:8080/jboss-net/services/AgentService'
> is not available to be refe
> renced in this schema.
> Schema validation warning: Namespace
> 'http://contact.twia.org' is not available to be
> referenced in this schema.
> Schema validation warning: Namespace
> 'http://contact.twia.org' is not available to be
> referenced in this schema.
> Schema validation warning: Namespace
> 'http://util.twia.org' is not available to be
> referenced in this schema.
> Schema validation warning: Namespace
> 'http://contact.twia.org' is not available to be
> referenced in this schema.
> Schema validation warning: SimpleType content is
> missing.
> Schema validation warning: Namespace
> 'http://util.twia.org' is not available to be
> referenced in this schema.
> Schema validation warning: Namespace
> 'http://security.twia.org' is not available to be
> referenced in this schema.
> 
> Warning: Schema could not be validated. Class
> generation may fail or may produce incorrect
> results.
> 
> Error: Unable to import binding
> 'AgentServiceSoapBinding' from namespace
> 'http://localhost:8080/jboss-net/services/Agent
> Service'.
>   - Unable to import operation 'getAgentOfRecordVO'.
>   - The datatype 'Array' is missing.
> 
> If you would like more help, please type "wsdl /?".
> 
> 
> 
> 
> Axis generated wsdl:
> ====================
> <?xml version="1.0" encoding="UTF-8" ?>
> <wsdl:definitions
>
targetNamespace="http://localhost:8080/jboss-net/services/AgentService";
> xmlns="http://schemas.xmlsoap.org/wsdl/";
>       xmlns:apachesoap="http://xml.apache.org/xml-soap";
>
xmlns:impl="http://localhost:8080/jboss-net/services/AgentService";
> 
>
xmlns:intf="http://localhost:8080/jboss-net/services/AgentService";
>
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
>       xmlns:tns1="http://contact.twia.org";
> xmlns:tns2="http://util.twia.org";
> xmlns:tns3="http://security.twia.org";
>       xmlns:tns4="http://net.jboss.org/jmx";
> xmlns:tns5="http://agent.twia.org";
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
> 
>
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
>       <wsdl:types>
>               <schema targetNamespace="http://util.twia.org";
> xmlns="http://www.w3.org/2001/XMLSchema";>
>                       <import
>
namespace="http://schemas.xmlsoap.org/soap/encoding/";
> />
>                       <complexType abstract="true" name="TWIAObject">
>                               <sequence>
>                                       <element name="key" nillable="true"
> type="xsd:anyType" />
>                                       <element name="keyAsString"
> nillable="true"
> type="xsd:string" />
>                               </sequence>
>                       </complexType>
>                       <complexType abstract="true"
> name="ValueObjectBase">
>                               <sequence>
>                                       <element name="key" nillable="true"
> type="xsd:anyType" />
>                               </sequence>
>                       </complexType>
>                       <complexType name="ApplicationLinkedException">
>                               <sequence>
>                                       <element name="linkedException"
> nillable="true"
> type="xsd:anyType" />
>                                       <element
> name="linkedExceptionsCount"
> type="xsd:int" />
>                               </sequence>
>                       </complexType>
>                       <complexType name="NotFoundException">
>                               <complexContent>
>                                       <extension
> base="tns2:ApplicationLinkedException">
>                                               <sequence />
>                                       </extension>
>                               </complexContent>
>                       </complexType>
>                       <complexType name="AlreadyExistsException">
>                               <complexContent>
>                                       <extension
> base="tns2:ApplicationLinkedException">
>                                               <sequence />
>                                       </extension>
>                               </complexContent>
>                       </complexType>
>                       <complexType name="QueryLimitsExceededException">
>                               <complexContent>
>                                       <extension
> base="tns2:ApplicationLinkedException">
>                                               <sequence>
>                                                       <element
> name="maximumAllowedResults"
> type="xsd:int" />
>                                                       <element
> name="totalResults" type="xsd:int" />
> 
=== message truncated ===



        
                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail

Reply via email to