Thanks.  Was able to finally getting to use the original wsdl.  However,
another issues has surfaced where the xsd's that are imported in the types
section of the wsdl cannot be resolved.  

When I change the schemaLocation in the xsd:import element and deploy the
service on axis2, axis2 keeps returning an "Unable to generate wsdl error".  

I've tried diferrent variations of the schemaLocation attribute (in the
wsdl:types xsd:import elements) and all seem to fail.

<xsdimport namespace="http://my.namespace.com/Schema1";
schemaLocation="MyService?xsd=xsd1"/>

(created the schemadir and copied xsd's into it)
<xsd:import namespace="http://my.namespace.com/Schema1";
schemaLocation="http://myserver.com:8080/axis2/schemadir/xsd1.xsd"/>

(created the schemadir and copied xsd's into it)
<xsd:import namespace="http://my.namespace.com/Schema1";
schemaLocation="http://myserver.com:8080/schemadir/xsd1.xsd"/>

<xsd:import namespace="http://my.namespace.com/Schema1";
schemaLocation="http://myserver.com:8080/axis2/services/MyService?xsd=xsd1.xsd"/>

Can someone offer suggestions on how to specify the absolute url and
eliminate the "Unable to generate wsdl" error?


Many Thanks,
danop









Rainer Menzner-2 wrote:
> 
> Hello Danop,
> 
> danop wrote:
>> Hello all,
>> 
>> Can anyone confirm whether or not the useOriginalwsdl setting works? 
>> I've
>> tried to use it, however I get errors when trying to view the service
>> wsdl
>> now ("Unable to generate WSDL for this service").  Does anyone know where
>> I
>> can find apache documentation regarding this setting?  I am so
>> frustrated,
>> the original axis was never this difficult.
>> 
> 
> I use it the following way:
> 
>       <serviceGroup>
>       <service name="MyService" scope="application">
>       <parameter name="useOriginalwsdl">true</parameter>
>       <messageReceivers>
>       ...
> 
> This works for me (Axis2 1.1 and Axis2 1.1.1)
> 
> Best regards,
> -Rainer
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Axis2-useOriginalwsdl-tf3177116.html#a8832984
Sent from the Axis - User mailing list archive at Nabble.com.


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

Reply via email to