You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ji...@apache.org on 2004/06/14 20:50:15 UTC
[jira] Created: (AXIS-1392) A generated deploy.wsdd from doc/lit style with complex type does not work
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
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:49 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
[jira] Commented: (AXIS-1392) A generated deploy.wsdd from doc/lit style with complex type does not work
Posted by ji...@apache.org.
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
[jira] Commented: (AXIS-1392) A generated deploy.wsdd from doc/lit style with complex type does not work
Posted by ji...@apache.org.
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
[jira] Commented: (AXIS-1392) A generated deploy.wsdd from doc/lit style with complex type does not work
Posted by ji...@apache.org.
The following comment has been added to this issue:
Author: Davanum Srinivas
Created: Tue, 15 Jun 2004 8:24 AM
Body:
try style="wrapped"
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/AXIS-1392?page=comments#action_36182
---------------------------------------------------------------------
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:24 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
[jira] Commented: (AXIS-1392) A generated deploy.wsdd from doc/lit style with complex type does not work
Posted by ji...@apache.org.
The following comment has been added to this issue:
Author: rody piyasin
Created: Tue, 15 Jun 2004 9:10 AM
Body:
nope! it doesn't work either.
here is how i use java2wsdl:
----------------------------
java org.apache.axis.wsdl.Java2WSDL -o TestDOCWSDL.wsdl -l http://localhost:8080/axis/services/TestDOC -T 1.2 -u literal -y document -n urn:test.webservices.generated test.webservices.generated.Test
here is how i use wsdl2java:
----------------------------
java org.apache.axis.wsdl.WSDL2Java -s -S -a -p test.webservices.generated -T 1.2 -o test.webservices.generated TestDOCWSDL.wsdl
Note: for wrap or rpc, just change -y to the respect type.
Is that correct way of doing?
thanks
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/AXIS-1392?page=comments#action_36183
---------------------------------------------------------------------
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 9:10 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