Can you please post the entire WSDD file?
Also, did you declare the java namespace?
Since you are using languageSpecificType, you should not use the java
prefix. so your typeMapping should contain either this:

languageSpecificType="com.equant.refce.ipcfm.bouchon.getConfiguration._GetConfRequest"

or this:

type="java:com.equant.refce.ipcfm.bouchon.getConfiguration._GetConfRequest"

But, if you go with the second version, you must declare the java namespace.

Anne

ps - in a valid document/literal WSDL, you must not include the
namespace attribute in the <wsdlsoap:body> descriptions.That attribute
is used only for RPC style services.



On Wed, 30 Mar 2005 16:02:50 +0200, lio axis <[EMAIL PROTECTED]> wrote:
> Hello world,
> 
> I'm trying to generate a proper wsdl from a wsdd that SHOULD be
> like this :
> 
> <wsdl:operation name="getConfigurationRelease">
>       <wsdlsoap:operation
> soapAction="http://ipcfm/GetConfigurationV2/GetConfigurationRelease";
> style="document"/>
>       <wsdl:input>
>         <wsdlsoap:body namespace="http://ipcfm/GetConfigurationV2";
> use="literal"/>
>       </wsdl:input>
>       <wsdl:output>
>         <wsdlsoap:body namespace="http://ipcfm/GetConfigurationV2";
> use="literal"/>
>       </wsdl:output>
>     </wsdl:operation>
> 
> So i made a wsdd like this :
> 
> <namespace>http://ipcfm/GetConfigurationV2</namespace>
>                 <parameter name="beanJndiName" value="GetConfigurationBean"/>
>                 <parameter name="homeInterfaceName"
> value="com.equant.refce.ipcfm.bouchon.GetConfigurationHome"/>
>                 <parameter name="remoteInterfaceName"
> value="com.equant.refce.ipcfm.bouchon.GetConfiguration"/>
>                 <parameter name="allowedMethods" value="getConfiguration,
> getConfigurationVersion, getConfigurationRelease"/>
>                 <operation name="getConfiguration">
>                         <parameter name="GetConfRequest" mode="IN" 
> minOccur="1" nillable="false"/>
>                 </operation>
> .../...
> with a mapping type like this :
> 
> <typeMapping qname="ns:GetConfRequest"
> xmlns:ns="http://ipcfm/GetConfigurationV2";
>                                 
> languageSpecificType="java:com.equant.refce.ipcfm.bouchon.getConfiguration._GetConfRequest"
>                                 
> serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>                                 
> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"/>
> 
> nothing tremedious, isn't it.
> 
> But when i invoke the service only to see the wsdl (http://blahblah?wsdl)
> axis try to explain things to me in this terms :
> 
> Attempted to write schema for bad QName (no namespace) : GetConfRequest
>         at 
> org.apache.axis.wsdl.fromJava.Types.writeSchemaElement(Types.java:656)
>         at 
> org.apache.axis.wsdl.fromJava.Emitter.writePartToMessage(Emitter.java:1368)
> .../...
> 
> Maybe anybody could help to translate this?
> Thx,
>

Reply via email to