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 Mon, 14 Jun 2004 18:59:10 GMT
The following comment has been added to this issue:

     Author: rody piyasin
    Created: Mon, 14 Jun 2004 11:58 AM
       Body:
Ooops! i forgot this:

The symptom is "no sign" the command line "java org.apache.axis.client.AdminClient deploy.wsdd"
said "Done Processing" but there is no new added service show up when i checked available
services page. 

Then i checked at server-config.wsdd file, and i found nothing about my new deployed service
is added. However, if i add the service element directly into the file (server-config.wsdd)
it will give me an empty blank page at checking available services page.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1392?page=comments#action_36162

---------------------------------------------------------------------
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: Mon, 14 Jun 2004 11:58 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