[JBoss-user] [JBossWS] - Re: Could not find deserializer for type

2006-01-02 Thread ameisinger
Hello geekgurl.

Try to implement a complex type for your arrays. For an int-Array the complex 
type should look like:


  | public class IntArray {
  |   private int[] intArray;
  | 
  |   public int[] getIntArray() { 
  | return intArray; 
  |   }
  | 
  |   public void setIntArray(int[] intArray) { 
  | this.intArray = intArray; 
  |   }
  | }
  | 

Using the complex Type (IntArray) looks like this:


  | IntArray iAry = new IntArray();
  | iAry.setIntArray(...);
  | endpoint.doSomething(iAry);
  | 

I hope this will help you.

Best Regards,
Alex

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3915135#3915135

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3915135


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Could not find deserializer for type

2005-06-21 Thread ameisinger
Hi,

I've tested it with an int-Array, too. And I have to use a IntArray-JavaBean. 
With that it works.


  | public class IntArray {
  | private int[] intArray;
  |   
  | public int[] getIntArray() { 
  | return intArray; 
  | }
  | 
  | public void setIntArray(int[] intArray) { 
  | this.intArray = intArray; 
  | }
  | }
  | 


Regards,
Alex

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3882227#3882227

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3882227


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: SimpleDeserializer encountered a child element which is

2005-06-15 Thread ameisinger
Hi,

I created my mapping.xml and wsdl file with wscompile. Now it works. Before 
this I've created the files with Java2WSDL. Althaugh it seems to work for 
single custom type, for arrays it does not work, because of the Java2WSDL 
command, I guess. During generating the client-files the IDE created an 
additional client-file called arrayOf_xsd_xxx. 

I don't know for what this file is - it does not matter because by using 
wscompile it works without this arrayOf_xsd_xxx files.


Regards,
Alex

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3881587#3881587

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3881587


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - SimpleDeserializer encountered a child element which is not

2005-06-13 Thread ameisinger
Hi there,

I tried to implement a webservice which returns a String of my int Array, but 
it does not work. The following error will appear:

Error-Message:
SimpleDeserializer encountered a child element, which is NOT expected, in 
something it was trying to deserialize.

Web-Service

  | public String setInts(IntArray intAry) {
  |   return intAry.toString();
  | }
  | 

I put the Array in a wrapper-class as described in the Wiki 
http://wiki.jboss.org/wiki/Wiki.jsp?page=WSArrayTypeMapping. I hope that this 
works for int-Arrays like for custom types.

IntArray-class

  | public class IntArray {
  |   private int[] intArray;
  |   public int[] getIntArray() { 
  | return intArray; 
  |   }
  |   public void setIntArray(int[] intArray) { 
  | this.intArray = intArray; 
  |   }
  | }
  | 

ws4ee-deployment.xml
 
  | typeMapping
  | qname='ns1:IntArray' 
  | xmlns:ns1='http://types.zoo.ams'
  | type='java:interfaces.IntArray'
  | serializer='org.jboss.axis.encoding.ser.BeanSerializerFactory'
  | deserializer='org.jboss.axis.encoding.ser.BeanDeserializerFactory'
  | encodingStyle=''
  | 
  | /typeMapping
  | 
  | typeMapping
  | qname='ns1:IntArrayResponse' 
  | xmlns:ns1='http://types.zoo.ams'
  | type='java:interfaces.IntArray'
  | serializer='org.jboss.axis.encoding.ser.BeanSerializerFactory'
  | deserializer='org.jboss.axis.encoding.ser.BeanDeserializerFactory'
  | encodingStyle=''
  | /typeMapping
  | 

After creating a client for this Webservice there are two new class-files: 
ArrayOf_xsd_int.java and IntArray.java

Client-code

  |   int[] intAry = {1,2,3,4,5};
  |   ArrayOf_xsd_int xsdIntAry = new ArrayOf_xsd_int();
  |   IntArray intArray = new IntArray();
  |   xsdIntAry.setItem(intAry);
  |   intArray.setIntArray(xsdIntAry);
  |   System.out.println(setInts:  + endpoint.setInts(intArray));
  | 

First question of two, for what is the ArrayOf_xsd_int? 
Second, why does my webservice not work?

Thanks in advance for your help!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3881251#3881251

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3881251


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Could not find deserializer for type

2005-06-08 Thread ameisinger
Hello Tom,

anonymous wrote : 
  | Once again do not use soap encoding, use document/literal or rpc/literal. 
Arrays need to be nested in a javabean in order to work properly. 
  | 
I did what you've recommended and for datatypes like int, string and my complex 
type Animal it works. But for arrays it does not work.

What did I wrong?

Here is my new wsdl-file (rpc/literal)

  | ?xml version=1.0 encoding=UTF-8?
  | wsdl:definitions targetNamespace=http://Hello;
  | xmlns:impl=http://Hello; xmlns:intf=http://Hello; 
  | xmlns:wsdlsoap=http://schemas.xmlsoap.org/wsdl/soap/; 
  | xmlns:apachesoap=http://xml.apache.org/xml-soap; 
  | xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; 
  | xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
  | xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; 
  | xmlns=http://schemas.xmlsoap.org/wsdl/;
  | !--WSDL created by Apache Axis version: 1.2
  | Built on May 03, 2005 (02:20:24 EDT)--
  |  wsdl:types
  |   schema xmlns=http://www.w3.org/2001/XMLSchema; 
targetNamespace=http://Hello;
  |import namespace=http://schemas.xmlsoap.org/soap/encoding//
  |complexType name=Animal
  | sequence
  |  element name=age type=xsd:int/
  |  element name=name nillable=true type=xsd:string/
  | /sequence
  |/complexType
  |complexType name=ArrayOfAnimal
  | sequence
  |  element name=item type=impl:Animal minOccurs=0 
maxOccurs=unbounded/
  | /sequence
  |/complexType
  |complexType name=AnimalArray
  | sequence
  |  element name=animalArray nillable=true type=impl:ArrayOfAnimal/
  | /sequence
  |/complexType
  |   /schema
  |  /wsdl:types
  |wsdl:message name=createAnimalResponse
  |   wsdl:part name=createAnimalReturn type=impl:Animal/
  |/wsdl:message
  |wsdl:message name=greetAnimalRequest
  |   wsdl:part name=in0 type=impl:Animal/
  |/wsdl:message
  |wsdl:message name=sayRoarRequest
  |   wsdl:part name=in0 type=xsd:string/
  |/wsdl:message
  |wsdl:message name=getAnimalsResponse
  |   wsdl:part name=getAnimalsReturn type=impl:AnimalArray/
  |/wsdl:message
  |wsdl:message name=getAnimalsRequest
  |/wsdl:message
  |wsdl:message name=greetAnimalResponse
  |   wsdl:part name=greetAnimalReturn type=xsd:string/
  |/wsdl:message
  |wsdl:message name=sayRoarResponse
  |   wsdl:part name=sayRoarReturn type=xsd:string/
  |/wsdl:message
  |wsdl:message name=createAnimalRequest
  |   wsdl:part name=in0 type=xsd:string/
  |   wsdl:part name=in1 type=xsd:int/
  |/wsdl:message
  |wsdl:portType name=AnimalEndpoint
  |   wsdl:operation name=sayRoar parameterOrder=in0
  |  wsdl:input name=sayRoarRequest message=impl:sayRoarRequest/
  |  wsdl:output name=sayRoarResponse 
message=impl:sayRoarResponse/
  |   /wsdl:operation
  |   wsdl:operation name=greetAnimal parameterOrder=in0
  |  wsdl:input name=greetAnimalRequest 
message=impl:greetAnimalRequest/
  |  wsdl:output name=greetAnimalResponse 
message=impl:greetAnimalResponse/
  |   /wsdl:operation
  |   wsdl:operation name=createAnimal parameterOrder=in0 in1
  |  wsdl:input name=createAnimalRequest 
message=impl:createAnimalRequest/
  |  wsdl:output name=createAnimalResponse 
message=impl:createAnimalResponse/
  |   /wsdl:operation
  |   wsdl:operation name=getAnimals
  |  wsdl:input name=getAnimalsRequest 
message=impl:getAnimalsRequest/
  |  wsdl:output name=getAnimalsResponse 
message=impl:getAnimalsResponse/
  |   /wsdl:operation
  |/wsdl:portType
  |wsdl:binding name=AnimalEndpointPortSoapBinding 
type=impl:AnimalEndpoint
  |   wsdlsoap:binding style=rpc 
transport=http://schemas.xmlsoap.org/soap/http/
  |   wsdl:operation name=sayRoar
  |  wsdlsoap:operation soapAction=/
  |  wsdl:input name=sayRoarRequest
  | wsdlsoap:body use=literal namespace=http://Hello/
  |  /wsdl:input
  |  wsdl:output name=sayRoarResponse
  | wsdlsoap:body use=literal namespace=http://Hello/
  |  /wsdl:output
  |   /wsdl:operation
  |   wsdl:operation name=greetAnimal
  |  wsdlsoap:operation soapAction=/
  |  wsdl:input name=greetAnimalRequest
  | wsdlsoap:body use=literal namespace=http://Hello/
  |  /wsdl:input
  |  wsdl:output name=greetAnimalResponse
  | wsdlsoap:body use=literal namespace=http://Hello/
  |  /wsdl:output
  |   /wsdl:operation
  |   wsdl:operation name=createAnimal
  |  wsdlsoap:operation soapAction=/
  |  wsdl:input name=createAnimalRequest
  | wsdlsoap:body use=literal namespace=http://Hello/
  |  /wsdl:input
  |  wsdl:output name=createAnimalResponse
  | wsdlsoap:body use=literal namespace=http://Hello/
  |  /wsdl:output
  |   /wsdl:operation
  |   wsdl:operation 

[JBoss-user] [JBossWS] - Re: Could not find deserializer for type

2005-06-07 Thread ameisinger
Hi to everyone!

I made some attempts with complex types. Now they're working after inserting 
the corresponding typeMapping.

I tried a new method: String setStrings(String[]) and there is the same error 
like before: 

No deserializer defined for array type 
{http://www.w3.org/2003/05/soap-encoding}string.

My ws4ee-deployment.xml looks like

  | deployment
  | xmlns='http://xml.apache.org/axis/wsdd/'
  | xmlns:java='http://xml.apache.org/axis/wsdd/providers/java'
  | xmlns:soap='http://schemas.xmlsoap.org/soap/encoding/'
  | xmlns:xsi='http://www.w3.org/2000/10/XMLSchema-instance'
  | xmlns:xsd='http://www.w3.org/2001/XMLSchema'
  | 
  | ...
  | 
  | typeMapping 
  | qname=ns1:ArrayOf_soapenc_string 
  | xmlns:ns1='http://Hello'
  | type=java:java.lang.String[]
  | serializer=org.jboss.axis.encoding.ser.ArraySerializerFactory
  | 
deserializer=org.jboss.axis.encoding.ser.ArrayDeserializerFactory
  | encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;
  | /
  | ...
  | 

My wsdl file:

  | complexType name=ArrayOf_soapenc_string
  |   complexContent
  | restriction base=soapenc:Array
  |   attribute ref=soapenc:arrayType wsdl:arrayType=soapenc:string[] 
xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; / 
  | /restriction
  |   /complexContent
  | /complexType
  | 

The method String[] getStrings() works without the typeMapping. 


Is there any solution available for this problem?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3880607#3880607

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3880607


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Could not find deserializer for type

2005-06-06 Thread ameisinger
I forgot to write a META-INF/ws4ee-deployment.xml file 
(similar to: http://wiki.jboss.org/wiki/Wiki.jsp?page=WSTypeMapping).

After this it worked.


  | deployment
  |   xmlns='http://xml.apache.org/axis/wsdd/'
  |   xmlns:java='http://xml.apache.org/axis/wsdd/providers/java'
  |   xmlns:soap='http://schemas.xmlsoap.org/soap/encoding/'
  |   xmlns:xsi='http://www.w3.org/2000/10/XMLSchema-instance'
  |   xmlns:xsd='http://www.w3.org/2001/XMLSchema'
  | 
  |   typeMapping 
  | qname='ns1:Animal' 
  | xmlns:ns1='http://Hello'
  | type='java:interfaces.Animal'
  | serializer='org.jboss.axis.encoding.ser.BeanSerializerFactory'
  | deserializer='org.jboss.axis.encoding.ser.BeanDeserializerFactory'
  | encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
  |   /
  | /deployment
  | 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3880556#3880556

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3880556


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Could not find deserializer for type

2005-05-31 Thread ameisinger
Hi,

I have created a webservice and deployed it on jboss. The webservice has three 
different methods. 

Testing the business-methods: sayHello is OK, meetAnimal is not OK, 
createAnimal is not OK, too.

Any ideas what's going wrong?

How can I prevent: could not find deserializer and No serializer found for 
class?

String meetAnimal(Animal) delivers the following error message:

  | AxisFault
  |  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
  |  faultSubcode: 
  |  faultString: Deserializing parameter 'in0':  could not find deserializer 
for type {http://Hello}Animal
  |  faultActor: 
  |  faultNode: 
  |  faultDetail: 
  | {http://xml.apache.org/axis/}stackTrace:AxisFault
  |  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
  |  faultSubcode: 
  |  faultString: Deserializing parameter 'in0':  could not find deserializer 
for type {http://Hello}Animal
  |  faultActor: 
  |  faultNode: 
  |  faultDetail: 
  | 
  | Deserializing parameter 'in0':  could not find deserializer for type 
{http://Hello}Animal
  | at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:262)
  | at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)

Animal createAnimal(ing, String) delivers following error message:

  | AxisFault
  |  faultCode: {http://xml.apache.org/axis/}HTTP
  |  faultSubcode: 
  |  faultString: (500)Internal Server Error
  |  faultActor: 
  |  faultNode: 
  |  faultDetail: 
  | {}:return code:  500
  | [...]
  | The server encountered an internal error () that prevented it from 
  | fulfilling this request./u/ppbexception/b 
  | preorg.jboss.axis.AxisFault: No serializer found for class 
  | tutorial.interfaces.Animal in registry 
  | [EMAIL PROTECTED]
  | org.jboss.axis.AxisFault.makeFault(AxisFault.java:99)
  | org.jboss.axis.MessagePart.writeTo(MessagePart.java:303)
  | org.jboss.axis.MessagePart.getAsString(MessagePart.java:591)
  | org.jboss.axis.MessagePart.getAsBytes(MessagePart.java:447)
  | org.jboss.axis.Message.getContentType(Message.java:471)
  | org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:971)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | 
org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  | /pre/ppbnote/b uThe full stack trace of the root cause 
  | is available in the Apache Tomcat/5.5.9 logs./u/pHR size=1 
  | noshade=noshadeh3Apache Tomcat/5.5.9/h3/body/html
  | {http://xml.apache.org/axis/}HttpErrorCode:500
  | 


My test-client:

  | package tutorial.testing;
  | import java.net.URL;
  | import javax.xml.namespace.QName;
  | import javax.xml.rpc.Service;
  | import javax.xml.rpc.ServiceFactory;
  | 
  | public class WSClient {
  | public static void main(String[] args) throws Exception {
  | URL url = new 
URL(http://ga_server:8080/TutorialCustom/TutorialHelloEndpoint?wsdl;);
  | QName qname = new QName(http://Hello;, 
TutorialHelloEndpointService);
  | ServiceFactory factory = ServiceFactory.newInstance();
  | Service service = factory.createService(url, qname);
  | TutorialHelloEndpoint endpoint = (TutorialHelloEndpoint) 
service.getPort(TutorialHelloEndpoint.class);
  | 
  | // testing business-method: String sayHello(String) 
  | String sayHelloVal = endpoint.sayHello(Wuff);
  | System.out.println(sayHelloVal);
  | 
  | // testing business-method: String meetAnimal(Animal)   
  | Animal myDog = new Animal();
  | myDog.setAge(10);
  | myDog.setName(Goofy);
  | String meetAnimalVal = endpoint.meetAnimal(myDog);
  | System.out.println(meetAnimalVal);
  | 
  | // testing business-method: Animal createAnimal(int, String)
  | Animal yourDog = endpoint.createAnimal(12,Lassie);
  | System.out.println(Your dog  + yourDog.getName() +  is  + 
yourDog.getAge() +  years old.);
  | }
  | }


  | /**
  |  * TutorialHelloEndpoint.java
  |  *
  |  * This file was auto-generated from WSDL
  |  * by the Apache Axis 1.2alpha Dec 01, 2003 (04:33:24 EST) WSDL2Java 
emitter.
  |  */
  | 
  | package tutorial.testing;
  | 
  | public interface TutorialHelloEndpoint extends java.rmi.Remote {
  | public java.lang.String sayHello(java.lang.String in0) throws 
java.rmi.RemoteException;
  | public java.lang.String meetAnimal(tutorial.testing.Animal in0) throws 
java.rmi.RemoteException;
  | public tutorial.testing.Animal createAnimal(int in0, java.lang.String 
in1) throws java.rmi.RemoteException;
  | }
  | 

My wsdl-file:

  | ?xml version=1.0 encoding=UTF-8?
  | wsdl:definitions 

[JBoss-user] [JBossWS] - EJB 2.1 Service Endpiont: Custom Types

2005-05-30 Thread ameisinger
Hi, 

I am using JBoss 4.0.2, Eclipse 3.0.2 with JBossIDE 1.4.1e30 and xDoclet 1.2.3. 
I wrote a ejb 2.1 service endpoint with standard data types - it works fine. 
Now I want to add a custom object (Person). Which steps must be done?

My file-structure is as follows:


  | /Tutorial
  |   /src
  | /tutorial.ejb (package)
  |   HelloBean.java
  | /tutorial.interfaces (package)
  |   TutorialHelloEndpoint.java
  | /META-INF
  |   /wsdl
  | service.wsdl
  |   ejb-jar.xml
  |   jboss.xml
  |   mapping.xml
  |   webservices.xml
  |   /JRE System Library [J2SDK 1.4.2_05]
  | ...
  |   /J2EE 1.4 Libraries (JBoss-IDE)
  | ...
  |   /Web Services 1.0 Libraries (JBoss-IDE)
  | ...
  |   /build
  | tutorial.jar
  |   /resources
  | template.wsdl
  | wsdl-build.xdt
  |   generate-wsdl-script.xml
  |   packaging-build.wsdl
  |   wsdl-build.xml
  |   xdoclet.properties
  |   xdoclet-build.xml
  | 

I'll give you an overview of my code:

HelloBean.java

  | /*
  |  * Created on 25.05.2005
  |  *
  |  * TODO To change the template for this generated file go to
  |  * Window - Preferences - Java - Code Style - Code Templates
  |  */
  | package tutorial.ejb;
  | 
  | import java.rmi.RemoteException;
  | 
  | import javax.ejb.CreateException;
  | import javax.ejb.EJBException;
  | import javax.ejb.SessionBean;
  | import javax.ejb.SessionContext;
  | 
  | /**
  |  * @ejb.bean name=Hello
  |  *   display-name=Name for Hello
  |  *   description=Description for Hello
  |  *   jndi-name=ejb/Hello
  |  *   type=Stateless
  |  *   view-type=service-endpoint
  |  * 
  |  * @ejb.interface 
  |  *   
service-endpoint-class=tutorial.interfaces.TutorialHelloEndpoint
  |  * 
  |  * @wsee.port-component 
  |  *   name=TutorialHelloEndpointPort
  |  */
  | public class HelloBean implements SessionBean {
  | 
  | public HelloBean() {}
  | public void setSessionContext(SessionContext ctx) throws EJBException, 
RemoteException {}
  | public void ejbRemove() throws EJBException, RemoteException {}
  | public void ejbActivate() throws EJBException, RemoteException {}
  | public void ejbPassivate() throws EJBException, RemoteException {}
  | public void ejbCreate() throws CreateException {}
  | 
  | /**
  |  * Business method
  |  * @ejb.interface-method  view-type = service-endpoint
  |  */
  | public String sayHello(String name) {
  | return Hello  + name + !;
  | }
  | }
  | 
TutorialHelloEndpoint

  | /*
  |  * Generated by XDoclet - Do not edit!
  |  */
  | package tutorial.interfaces;
  | 
  | /**
  |  * Service endpoint interface for Hello.
  |  */
  | public interface TutorialHelloEndpoint
  |extends java.rmi.Remote
  | {
  |/**
  | * Business method
  | */
  |public java.lang.String sayHello( java.lang.String name )
  |   throws java.rmi.RemoteException;
  | }
  | 
mapping.xml

  | ?xml version=1.0 encoding=UTF-8?
  | 
  | java-wsdl-mapping 
  |   xmlns=http://java.sun.com/xml/ns/j2ee; 
  |   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
  |   xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
  |   
http://java.sun.com/xml/ns/j2ee/j2ee_jaxrpc_mapping_1_1.xsd; 
  |   version=1.1
  | 
  | package-mapping
  |   package-typetutorial.ejb/package-type
  |   namespaceURIhttp://Hello/namespaceURI
  | /package-mapping
  | /java-wsdl-mapping
  | 
webservices.xml

  | ?xml version=1.0 encoding=UTF-8?
  | 
  | webservices
  | xmlns=http://java.sun.com/xml/ns/j2ee;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/j2ee_web_services_1_1.xsd;
  | version=1.1
  | 
  |   webservice-description
  | icon
  | /icon 
  | webservice-description-nameTutorial/webservice-description-name
  | wsdl-fileMETA-INF/wsdl/service.wsdl/wsdl-file
  | jaxrpc-mapping-fileMETA-INF/mapping.xml/jaxrpc-mapping-file
  | port-component
  |   icon
  |   /icon
  | 
port-component-nameTutorialHelloEndpointPort/port-component-name
  |   wsdl-portTutorialHelloEndpointPort/wsdl-port
  |   
service-endpoint-interfacetutorial.interfaces.TutorialHelloEndpoint/service-endpoint-interface
  |   service-impl-bean
  | ejb-linkHello/ejb-link
  |   /service-impl-bean
  | /port-component
  |   /webservice-description 
  | /webservices
  | 
jboss.xml

  |   ...
  |   session
  |  ejb-nameHello/ejb-name
  | 
  | method-attributes
  | /method-attributes
  |   /session
  |   ...
  | 
ejb-jar.xml

  |...
  |description![CDATA[No Description.]]/description
  |display-nameGenerated by XDoclet/display-name
  |enterprise-beans
  |   !-- Session Beans --
  |   

[JBoss-user] [Advanced Documentation] - Web Service Endpoint Interface with JBoss IDE

2005-05-10 Thread ameisinger
Hi,

is there any Tutorial or Weblink where I can find a solution to create a Web 
Service Endpoint Interface (EJB 2.1) with JBoss IDE in Eclipse.

I have found a good start at: 
http://www.dcl.hpi.uni-potsdam.de/research/asg/ws4ejb/

I failed when I started to insert the Wsee doclet (create a new template tree 
and add wsee specific tags).

It is so hard to find a useful documentation - maybe you can help me.


Best regards,
Alexander

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3877158#3877158

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877158


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user