[JBoss-user] [JBossWS] - Re: Override URL and Port For WS

2006-04-01 Thread irisel
I am using JWSDP. It generates a Impl and Stub class. Some people do a explicit cast when using the _Impl class, to get the reference to the Stub, to set the properties we need. I chose to extend the Impl class in this way: public com.irisel.oms.ws.client.OMBrowserEndpoint getOMBrowserEndpoi

[JBoss-user] [JBossWS] - Re: java.lang.NoClassDefFoundError: org/apache/axis/client/S

2006-04-01 Thread irisel
Ok, that's cool. I'll try it. Regards, Jose. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934152#3934152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934152 ---

[JBoss-user] [JBossWS] - Re: HTTP Proxy beween ws client and JBoss

2006-03-31 Thread irisel
I think I found it... http://labs.jboss.com/portal/jbossremoting/docs/guide/ch04.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934049#3934049 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934049

[JBoss-user] [JBossWS] - HTTP Proxy beween ws client and JBoss

2006-03-31 Thread irisel
Hello, Does anybody know how to connect to a web service through an http-proxy? I have read about properties http.proxyHost and http.proxyPort. Has someone tried? Thx and regards, Jose. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934048#3934048 Reply to

[JBoss-user] [JBossWS] - Re: java.lang.NoClassDefFoundError: org/apache/axis/client/S

2006-03-31 Thread irisel
ejb-jar.xml | 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/ejb-jar_2_1.xsd"; | version="2.1"> | | |Generated by XDoclet | |

[JBoss-user] [JBossWS] - Re: java.lang.NoClassDefFoundError: org/apache/axis/client/S

2006-03-31 Thread irisel
Maybe these files help you: Config file for wscompile to generate server: wscompile.config.xml | | | | http://java.sun.com/xml/ns/jax-rpc/ri/config";> | | | | http://com.irisel.oms.ws"; | typeNamespace="http://com.irisel.oms.ws/types"; | packageName="com.i

[JBoss-user] [JBossWS] - Re: java.lang.NoClassDefFoundError: org/apache/axis/client/S

2006-03-31 Thread irisel
Hello, If you would be more explicit... 1. Copy your EJB Remote interface to extend Remote instead. That's all you have to change. It's my com.irisel.oms.ws.OMBrowserEndpoint interface. 2. Modify your ejb-jar.xml to include like in my file, referencing the new interface we created in step 1.

[JBoss-user] [JBossWS] - Re: jbossws - Invalid byte 2 of 2-byte UTF-8 sequence

2006-03-28 Thread irisel
I have solve my problem. I was encoding beans with java.beans.XMLEncoder, which encodes using UTF-8, then converting to String using default charset (Converters.getDefaultEncodingName()) which was windows code page 1252 "cp1252", that is, Win Latin 1. Specifying "UTF-8" when converting from byte

[JBoss-user] [JBossWS] - Re: jbossws - Invalid byte 2 of 2-byte UTF-8 sequence

2006-03-28 Thread irisel
Hi guys, have a look at this... http://groups.google.com/group/comp.lang.java.programmer/browse_thread/thread/a237715716e67cc1/a2f99890460244fe%23a2f99890460244fe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933063#3933063 Reply to the post : http://www.jb

[JBoss-user] [JBossWS] - Re: jbossws - Invalid byte 2 of 2-byte UTF-8 sequence

2006-03-28 Thread irisel
I am currently researching that too. Please update the forum with your outcomes, as I will do. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933048#3933048 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933048 -

[JBoss-user] [JBossWS] - Re: java.lang.NoClassDefFoundError: org/apache/axis/client/S

2006-03-24 Thread irisel
Hi all, I get it to work. Now it seems easy. I am using JBossIDE 1.5.1 GA and JBoss 4.0.4RC1. For the client, the one that works is the one generated by wscompile (and not the one generated by JBossIDE). Better than words, I attach my config files. This is my config file for wscompile to genera

[JBoss-user] [JBossWS] - Re: Web Service deployed, Wsdl not published (jboss 4.0.4rc1

2006-03-24 Thread irisel
I solved my problem changing many things. On one hand, the context url for the web service in the ejb.jar now differs from that used by the war. And double-checking all the references between the EJBs. Tip: With eclipse, pointing the mouse over the xml tags of the descriptos shows their semantics

[JBoss-user] [JBossWS] - Re: FiboBean (as per Eclipse-IDE Documentation) as a webserv

2006-03-23 Thread irisel
Ooops, the "See your message" link does not work when a new page is created. Usually I am not so silly to post the same message 3 times ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=393#393 Reply to the post : http://www.jboss.com/index.html?mo

[JBoss-user] [JBossWS] - Re: FiboBean (as per Eclipse-IDE Documentation) as a webserv

2006-03-23 Thread irisel
That's what I did too. I will look carefully http://wiki.jboss.org/wiki/Wiki.jsp?page=WSServerEJB and if I solve it I will post my results. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932221#3932221 Reply to the post : http://www.jboss.com/index.html?modu

[JBoss-user] [JBossWS] - Re: FiboBean (as per Eclipse-IDE Documentation) as a webserv

2006-03-23 Thread irisel
Hi, That's what I did, but thought it wasn't the best practice. I will study carefully this page and if I solve it I will post my results: http://wiki.jboss.org/wiki/Wiki.jsp?page=WSServerEJB View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932220#3932220 Rep

[JBoss-user] [JBossWS] - Using EJBs to serve Web Services

2006-03-23 Thread irisel
FYI On Thu, 23 Mar 2006 07:31:01 -0600, Thomas Diesler wrote >> Jose, >> >> Please accept and understand that free support is not available from >> core developers directly. >> We offer free support on the user forum >> >> http://www.jboss.org/index.html?module=bb&op=viewforum&f=200 >>

[JBoss-user] [JBossWS] - Re: java.lang.NoClassDefFoundError: org/apache/axis/client/S

2006-03-23 Thread irisel
Ok, so we are supposed to use wscompile only for the mappings & wsdl, and discard all of the stubs?? For the client problem, i wonder if we need to deploy some war, as I have read in one post. Another question is how do you relate the interface passed to wscompile to the bean that serves the ws

[JBoss-user] [JBossWS] - Re: FiboBean (as per Eclipse-IDE Documentation) as a webserv

2006-03-23 Thread irisel
Sorry, I have reviewed and not, it's not the case. The interface that I used for the service-endpoint tag in the ejb-jar.xml (your jbpm.interfaces.Fibo) was the Remote interface of the bean, that extends EJBObject. So the problem was it couldn't extend java.rmi.Remote, so I created a new interfa

[JBoss-user] [JBossWS] - Re: java.lang.NoClassDefFoundError: org/apache/axis/client/S

2006-03-23 Thread irisel
I have the same problem too. But, with JBoss 4.0.4 axis is not supported anymore, is it? Another issue is, if the best practice now is to use wscompile instead of java2wsdl, why JWSDP jars are not included as part of the IDE? I have had to add manually all the jars to the ant-wscompile-build fil

[JBoss-user] [JBossWS] - Re: FiboBean (as per Eclipse-IDE Documentation) as a webserv

2006-03-23 Thread irisel
Thanks for your reply! Yes, the interface I was using extended EJBObject, I have created a new one that extends Remote, but in a new package. I got it deployed without errors, but it does not work and I am annoyed. I suppose this is because this new interface is not explicitly linked to the EJ

[JBoss-user] [JBossWS] - Web Service deployed, Wsdl not published (jboss 4.0.4rc1)

2006-03-22 Thread irisel
hello, I have just deployed my web service after configuring ant, wscompile, ejb-jar.xml, jboss.xml, webservices.xml and so on... I got rid of all the exceptions in the way and I see it in /ws4ee/services, but, the wsdl link in that page is broken. Does someone now why? I still don't know if a cl

[JBoss-user] [JBossWS] - Re: problems generating WebService stuff with wscompile Ant

2006-03-21 Thread irisel
Sorry, no way to paste XML... Whoever wants my code, just drop me an email at jose "at" irisel.com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931719#3931719 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931719 -

[JBoss-user] [JBossWS] - Re: problems generating WebService stuff with wscompile Ant

2006-03-21 Thread irisel
e}/plugins/org.jboss.ide.eclipse.jdt.ws.core_1.5.1.GA/lib/wsi-1.0/jaxrpc-api.jar"/>     <pathelement location="${eclipse.home}/plugins/org.jboss.ide.eclipse.jdt.ws.core_1.5.1.GA/lib/wsi-1.0/saaj-api.jar"/>     <pathelement location="${eclips

[JBoss-user] [JBossWS] - Re: problems generating WebService stuff with wscompile Ant

2006-03-21 Thread irisel

[JBoss-user] [JBossWS] - Re: problems generating WebService stuff with wscompile Ant

2006-03-21 Thread irisel
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931716#3931716 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931716 --- This SF.Net email is sponsored by xPML, a

[JBoss-user] [JBossWS] - Re: problems generating WebService stuff with wscompile Ant

2006-03-21 Thread irisel
I had the same problem. Just add tools.jar in the classpath element into de ant build script. Buena Suerte !

[JBoss-user] [JBossWS] - Re: FiboBean (as per Eclipse-IDE Documentation) as a webserv

2006-03-21 Thread irisel
Hello, Please, how did you generate mappings and wsdl? In my case, Wscompile fails to use the same interface that I used for the EJB jar: it says it cannot implement EJBHome. Many thanks and regards, Jose. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=393160