axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Commented: (AXIS-1392) A generated deploy.wsdd from doc/lit style with complex type does not work
Date Tue, 15 Jun 2004 15:19:11 GMT
The following comment has been added to this issue:

     Author: rody piyasin
    Created: Tue, 15 Jun 2004 8:18 AM
       Body:
Ooops again!! i did not realize that there is no mention about component and affect version,
since i remembered i did select it before i submit!

btw, here is info. 

Component: Deployement/registries AND WSDL Processing.
Affect Version: (current)nightly (1.2 beta)
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1392?page=comments#action_36181

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1392

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1392
    Summary: A generated deploy.wsdd from doc/lit style with complex type does not work
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis

   Assignee: 
   Reporter: rody piyasin

    Created: Mon, 14 Jun 2004 11:49 AM
    Updated: Tue, 15 Jun 2004 8:18 AM
Environment: w2k, jre 1.4.1, (win)Tomcat 5.0

Description:
I m trying to deploy deploy.wsdd (which is generated by wsdl2java) by using the command line

java org.apache.axis.client.AdminClient deploy.wsdd

Note1: wsdl file is also generated by java2wsdl.
Note2: ONLY wsdl that contains a complex type does not work, while a simple wsdl that contains
only basic types are work fine.

Here is my deploy.wsdd with complex type:
=========================================

<deployment
    xmlns="http://xml.apache.org/axis/wsdd/"
    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

  <!-- Services from ServiceSampleService WSDL service -->

  <service name="ServiceSampleDOC" provider="java:RPC" style="document" use="literal">
      <parameter name="wsdlTargetNamespace" value="NS.test.webservices.generated.ServiceSample"/>
      <parameter name="wsdlServiceElement" value="ServiceSampleService"/>
      <parameter name="wsdlServicePort" value="ServiceSampleDOC"/>
      <parameter name="className" value="service.doc.literal.ServiceSampleDOCSoapBindingImpl"/>
      <parameter name="wsdlPortType" value="ServiceSample"/>
      <operation name="getSample0" qname="getSample0" returnQName="retNS:getSample0Return"
xmlns:retNS="NS.test.webservices.generated.ServiceSample" returnType="rtns:Sample0" xmlns:rtns="http://generated.webservices.test"
soapAction="" >
      </operation>
      <parameter name="allowedMethods" value="getSample0"/>

      <typeMapping
        xmlns:ns="NS.test.webservices.generated.ServiceSample"
        qname="ns:ArrayOf_tns2_string"
        type="java:service.doc.literal.ArrayOf_tns2_string"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://generated.webservices.test"
        qname="ns:Sample0"
        type="java:service.doc.literal.Sample0"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
  </service>
</deployment>


Here is deploy.wsdd with NO complex type:
=========================================
<deployment
    xmlns="http://xml.apache.org/axis/wsdd/"
    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

  <!-- Services from VerySimpleService WSDL service -->

  <service name="VerySimple" provider="java:RPC" style="document" use="literal">
      <parameter name="wsdlTargetNamespace" value="urn:test.webservices.verysimple"/>
      <parameter name="wsdlServiceElement" value="VerySimpleService"/>
      <parameter name="wsdlServicePort" value="VerySimple"/>
      <parameter name="className" value="test.webservices.verysimple.VerySimpleSoapBindingSkeleton"/>
      <parameter name="wsdlPortType" value="VerySimple"/>
      <parameter name="allowedMethods" value="*"/>
      <parameter name="scope" value="Session"/>

  </service>
</deployment>


However, if you need more detail like generated wsdl files or else please lets me know.

thanks


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message