Well I have now managed to get my webservice running from within SOAPUI - I did
this by changing my return arraylist to a simple array of objects. Don't
think arrayLists are supported but frankly the documentation on the JBoss sites
is pretty bad so I had to work that out for myself.
I am sti
Hi - I'm back on this now. If you still have your wsdl please would you post
the whole lot? I've changed things around a little bit, am using arraylists
instead of lists, am using BARE instead of RPC, my class names have changed
slightly, but I'm still getting strange wsdl:-
- http://session.
Thanks Peter, I'll have a play to see if I can work around this, I'll fill you
in when I figure it out.
I'm on a hibernate course next week so won't be looking at it for a few days.
Clare
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068166#4068166
Repl
I must say that your WSDL file looks very strange. It appears that for some
reason that the method names are being treated as types. More on that in a
second.
The first thing I noticed was that JBossWS did not like List as a return type.
When i deployed the web service I got this error:
Caused
- http://session.address.cmmgroup.com/";
xmlns="http://schemas.xmlsoap.org/wsdl/";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:tns="http://session.address.cmmgroup.com/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
| -
| - http://session.address.cmmgroup.com/";
version="1
When you post XML contents, enclose it within [ code ]...[ /code ] brackets
(without the spaces). Or select the XML text and click the Code button.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067104#4067104
Reply to the post :
http://www.jboss.com/index.h
I generated the wsdl from the code
Here is the code:-
INTERFACE**
package com.cmmgroup.address.session;
import java.rmi.Remote;
import java.util.List;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import com.cmmgroup.address.entities.POAddress;
Could you post your web service code and the wsdl? Also, did you start with the
web service code and let the app server generate the wsdl, or did you start
with the wsdl and generate Java stubs using wsconsume?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=40
Thanks for that - when I get up to speed I will treat newbies as well as you
have treated me.
The link you gave me tells me to add the following files to my JBOSS_HOME/lib
directory.
jboss-jaxrpc.jar
jboss-saaj.jar
jaxb-api.jar
jaxws-api.jar
I did that, but unfortunately I got the same err
Found it: http://jbws.dyndns.org/mediawiki/index.php?title=Installation
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066718#4066718
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066718
___
Ahah! You are using JDK 6 which comes with JAX-WS built-in and causes conflicts
with JBoss WS. There is a wiki page that discusses this, and provides a fix,
but I cannot seem to locate it. You also try going back to JDK 5.
View the original post :
http://www.jboss.com/index.html?module=bb&op=v
Apologies, to answer your questions:-
Client stubs have been created using all the 4.2/latest version of jbossws
files.
JBOSS_HOME points correctly to my 4.2 JBoss directory
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066701#4066701
Reply to the post :
Thanks for your reply
I installed JBoss 4.2, I am running the messaging server. I installed the most
recent ws files using the ant build in the jbossws-native-2.0.0.GA release.
All the right files are now deployed to the default/deploy and messaging/deploy
jbossws.sar directories.
I fixed th
Are you using web services as they came with JBoss AS 4.2, or did you install a
different version?
How did you create the client stubs? Did you create them using 4.2 (or if you
installed a different version of JBossWS, did you use that)?
Does JBOSS_HOME on the client point to the 4.2 JBoss AS?
I want you all to know that I 100% have the latest version of
jboss-xml-binding.jar in my classpath. I've deleted all old version from my
hard drive.
If someone doesn't help me soon I'm going to jump in front of a bus or
something ;-)
I've had enough
I've got all these in my classpath:-
Thank you for the reply
I'm now getting a different error:-
Starting Test Client
Creating a service Using:
http://127.0.0.1:8080/EchoBeanService/EchoBean?wsdl
and {http://session.address.cmmgroup.com/}EchoBeanService
Creating an instance
Exception in thread "main" java.lang.NoSu
The missing class is in client/jboss-jaxws.jar.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066261#4066261
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066261
___
jboss-u
17 matches
Mail list logo