[jboss-user] [JBossWS] - Re: wsconsume and implementing interface top-down

2009-08-06 Thread meetoblivion
i think you may have your implementation strategies mixed up. if you're using wsconsume, it assumes that you've already written the webservice, and wsconsume helps create the client interface. if you're using wsprovide, it assumes you've written the WSDL and need to generate the server side stu

[jboss-user] [JBossWS] - Re: wsconsume ant task

2009-06-26 Thread babernat
"kj_newbie" wrote : | | Can anyone point out..what ma I missing ? | It looks like you're missing the jar: jbossws-spi.jar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240477#4240477 Reply to the post : http://www.jboss.org/index.html?module=bb&op=

[jboss-user] [JBossWS] - Re: WSConsume does not support JAX-WS 2.1 with JBossWS 3.0.5

2009-04-30 Thread joshua.dev
Thank you for the answers. I've decided to step back and use JAX-WS 2.0, hopefully integration with external parties won't be a problem. "alessio.sold...@jboss.com" wrote : I'd need to double check what was available in AS 4.2.2, I think the -t 2.1 option was later disabled because the implement

[jboss-user] [JBossWS] - Re: WSConsume does not support JAX-WS 2.1 with JBossWS 3.0.5

2009-04-29 Thread alessio.sold...@jboss.com
I'd need to double check what was available in AS 4.2.2, I think the -t 2.1 option was later disabled because the implementation of JAX-WS 2.1 was not complete yet. For sure you can use the 2.1 target starting from JBossWS Native 3.1.0.GA as the JAX-WS 2.1 has been completed there. Otherwise (if

[jboss-user] [JBossWS] - Re: wsconsume: generated operations do not declare throws Re

2008-11-17 Thread ahowardhobs
Did you ever find a solution? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189913#4189913 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189913 ___ jboss-user mailing list j

[jboss-user] [JBossWS] - Re: wsconsume fails on NoClassDefFoundException (AS 4.2.2)

2008-11-10 Thread AceFrehley
Peter - Thank you *very* much!! That solved the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188142#4188142 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188142 __

[jboss-user] [JBossWS] - Re: wsconsume fails on NoClassDefFoundException (AS 4.2.2)

2008-11-06 Thread PeterJ
Try running it without the "sudo sh". If you run it with sudo, then you get the env vars set up for root, and you might not have JAVA_HOME set for root, in which case you might be getting the GNU-java. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187542#418

[jboss-user] [JBossWS] - Re: wsconsume and rpc/encoded soap message

2008-08-21 Thread [EMAIL PROTECTED]
Please search in the forum for this topic. In few words jbossws native has really basic rpc/enc functionalities, we should actually say that rpc/enc is not supported any more. That's because the WS-I Basic Profile disallowed it. View the original post : http://www.jboss.com/index.html?module=bb

[jboss-user] [JBossWS] - Re: wsconsume https

2008-07-28 Thread kvnchien
Hi, I am running into the same problem. Have you found the solution yet? Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167210#4167210 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167210 __

[jboss-user] [JBossWS] - Re: wsconsume + serialisible

2008-07-24 Thread dmitry.kudrenko
I found the solution: I used binding file to generate serializable artifacts: 1. create the file, for example, jaxb-bindings.xml http://www.w3.org/2001/XMLSchema"; xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"; xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"; elementFormDefault="qualified" attr

[jboss-user] [JBossWS] - Re: wsconsume and soap 1.2 warning

2008-02-11 Thread [EMAIL PROTECTED]
I've just create a jira feature request for this: http://jira.jboss.org/jira/browse/JBWS-1990 In the mean time, valid workarounds are using the Sun's wsimport with the -extension option or manually commenting the soap 1.2 stuff from a local wsdl copy, running wsconsume and eventually restoring t

[jboss-user] [JBossWS] - Re: wsconsume generates annotations instead of xml file

2008-02-11 Thread [EMAIL PROTECTED]
If upgrading to JAX-WS (i.e. using annotations instead of jaxrpc-mapping.xml) is not doable in your business case, also consider the legacy jaxrpc stuff and its tools (wstools): http://jbws.dyndns.org/mediawiki/index.php?title=JAX-RPC_User_Guide; wsconsume is for JAX-WS only. View the original

[jboss-user] [JBossWS] - Re: wsconsume exception on document binding

2007-12-19 Thread [EMAIL PROTECTED]
"paoletto" wrote : | | wsconsume.sh ParseArrayService.wsdl | | Invalid wsdl:operation "parseStringArray": its a document-literal operation, message part must refer to a schema element declaration | | | | why this? i suppose it's a correctly exposed web service, so wsconsume sh

[jboss-user] [JBossWS] - Re: wsconsume exception on document binding

2007-12-16 Thread paoletto
sorry, the wsdl got cutted.. here it is: | | http://docs.active-endpoints.com/activebpel/sample/wsdl/parseArray/2007/03/parseArray.wsdl"; xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/

[jboss-user] [JBossWS] - Re: WsConsume throws exception

2007-12-12 Thread kks_krishna
What are the jar files i need to add in the classpath? I have added only one in the classpath. That has WsConsume class file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112444#4112444 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posti

[jboss-user] [JBossWS] - Re: WsConsume throws exception

2007-12-11 Thread [EMAIL PROTECTED]
Hi, thanks, that information was important for us to know your usecase. You're still missing some jars in the classpath (as you already know) :-( . I suggest you to put all jar files from jbossws distribution to your classpath, because it's very hard to tell you which jar file are you missin

[jboss-user] [JBossWS] - Re: WsConsume throws exception

2007-12-11 Thread kks_krishna
Even if i am setting the correct path for the jar files, i am getting the NoClassFound error. I am using the following versions: JBoss : 4.0.5 Java : 5.0 OS : Windows XP Step1 : I have created webservice and got the WSDL path in the server. Step2: I have downloaded 2.0.2 native api for generati

[jboss-user] [JBossWS] - Re: WsConsume throws exception

2007-12-11 Thread [EMAIL PROTECTED]
Hi, isn't this http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109077 your problem too? If not, please provide more details about your problem, e.g. JBoss AS version, Java version, OS version, steps you did, ... etc Richard View the original post : http://www.jboss.com/index.html?m

[jboss-user] [JBossWS] - Re: wsconsume

2007-11-19 Thread ahmedmhyd
I also got the same problem when trying to consume googlesearch.wsdl .Where u able to solve it? Ahmed Error: [exec] parsing WSDL... [exec] [WARNING] src-resolve.4.2: Error resolving component 'soapenc:Array'. It was detected that 'soapenc:Array' is in namespace 'http://schemas.xmlsoap.

[jboss-user] [JBossWS] - Re: wsconsume

2007-11-16 Thread [EMAIL PROTECTED]
JBossWS cannot process rpc/encoded wsdl style; WS-I BP disallowed use of rpc/enc. I would suggest to create at least a rpc/literal wsdl on the "other side". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105502#4105502 Reply to the post : http://www.jboss.c

[jboss-user] [JBossWS] - Re: wsconsume Ant task fails to find

2007-10-18 Thread balkanboy
"balkanboy" wrote : My apologies - I dont think I did my due diligence with the classpath - I've fixed the problem - I added "fork=true" to the 'wsconsume' Ant task, as well as , and it started to work. | | Thanks for reading :). Hm, my code got eaten- here's the fix: | http://127.0.0.1

[jboss-user] [JBossWS] - Re: wsconsume Ant task fails to find

2007-10-18 Thread balkanboy
My apologies - I dont think I did my due diligence with the classpath - I've fixed the problem - I added "fork=true" to the 'wsconsume' Ant task, as well as , and it started to work. Thanks for reading :). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=409677

[jboss-user] [JBossWS] - Re: Wsconsume generated Stubs failing with JBoss-4.2.0

2007-10-01 Thread [EMAIL PROTECTED]
What you see is WARNING from JAXP. However the classes are correctly generated. I'll close the issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090261#4090261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090261

[jboss-user] [JBossWS] - Re: Wsconsume generated Stubs failing with JBoss-4.2.0

2007-09-18 Thread [EMAIL PROTECTED]
http://jira.jboss.org/jira/browse/JBWS-1812 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085836#4085836 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085836 ___ jboss-user

[jboss-user] [JBossWS] - Re: wsconsume schema type reference problem

2007-09-11 Thread Maffewl
R2203 of the Basic Profile standard (http://www.ws-i.org/Profiles/BasicProfile-1.2.html) states: 'An rpc-literal binding in a DESCRIPTION MUST refer, in its soapbind:body element(s), only to wsdl:part element(s) that have been defined using the type attribute' where you say: |

[jboss-user] [JBossWS] - Re: wsconsume - Problems regarding http://www.w3.org/2001/XM

2007-09-11 Thread vashistvishal
Have a look at this... what i have posted http://www.jboss.com/index.html?module=bb&op=viewtopic&t=118062 I have also experienced issues like this when generating stubs for clients. To resolve issues like this even with the newer stack i had to modify wsdl by hand for interoperability. The w

[jboss-user] [JBossWS] - Re: wsconsume - Problems regarding http://www.w3.org/2001/XM

2007-09-10 Thread DeanoUK
Did u get this issue resolved, I'm seeing a similar thing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082644#4082644 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082644

[jboss-user] [JBossWS] - Re: wsconsume schema type reference problem

2007-09-06 Thread vashistvishal
I thnk by the look of it , the iisue is how yr mthod name and inpout raument name are different. According to new spech JSr-224 which is what is used for these tools, yr method name should be same as input arguement name. Please read the spec and you will discover more, new spec is very pedantic

[jboss-user] [JBossWS] - Re: wsconsume schema type reference problem

2007-09-06 Thread Maffewl
bump, i'm having the same issue, any thoughts? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081679#4081679 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081679 ___ jboss-us

[jboss-user] [JBossWS] - Re: Wsconsume generated Stubs failing with JBoss-4.2.0

2007-09-02 Thread vashistvishal
Hi Thomas, It looks to me wsdl to java generation for complex types is not corrcet in JBoss ws stack at all. I'm certain now its a bug in implementation. I have tried to hack the wsdl to work properly but then it generates wrong soap packet or wrong interface (without wrappers) for client. V

[jboss-user] [JBossWS] - Re: Wsconsume generated Stubs failing with JBoss-4.2.0

2007-08-27 Thread vashistvishal
Hi Thomas, I have got the new Web services stack (jbossws-2.0.1.GA) and deployed it in Jboss 4.2.1.GA and wsconsume fails with it as well I have validated my WSDL file (using WTP in Eclipse 3.3) as well and doesnt complain at all. To me its a bug in stack, which is generating wrong input parama

[jboss-user] [JBossWS] - Re: Wsconsume generated Stubs failing with JBoss-4.2.0

2007-08-24 Thread M_schumpa
you can see which version of JBossWS is loaded at startup of JBoss. I should look something like this: INFO [ServiceEndpointManager] jbossws-1.2.1.GA (build=200704151756) That's the message from JBoss-4.2.0.GA/ distribution, so I think you are also using this one. View the original post : htt

[jboss-user] [JBossWS] - Re: Wsconsume generated Stubs failing with JBoss-4.2.0

2007-08-24 Thread [EMAIL PROTECTED]
please try jbossws-2.0.1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077758#4077758 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077758 ___ jboss-user mailing list jboss-

[jboss-user] [JBossWS] - Re: Wsconsume generated Stubs failing with JBoss-4.2.0

2007-08-24 Thread vashistvishal
Hi Thomas, Thanks for replying. I'm not sure what version JBossWS it is. I'm using JBoss-4.2.0.GA/ distribution, what version is shipped with it is not clear to me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077720#4077720 Reply to the post : http://w

[jboss-user] [JBossWS] - Re: Wsconsume generated Stubs failing with JBoss-4.2.0

2007-08-24 Thread [EMAIL PROTECTED]
what jbossws is this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077664#4077664 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077664 ___ jboss-user mailing list jboss-use

[jboss-user] [JBossWS] - Re: Wsconsume generated Stubs failing with JBoss-4.2.0

2007-08-23 Thread vashistvishal
The comilation error i get is this ... whne i run wsconsume | :resources$ /cygdrive/d/javadev/jboss-4.2.0.GA/bin/wsconsume.sh -k -t -p au.com.tusc getMemberInfo.wsdl | warning: src-resolve: Cannot resolve the name 'edm:getMemberInfo' to a(n) 'e

[jboss-user] [JBossWS] - Re: wsconsume error

2007-07-22 Thread [EMAIL PROTECTED]
Looks liek a classpath probem. How did you install jbossws? What version is it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066480#4066480 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066480 ___

[jboss-user] [JBossWS] - Re: wsconsume

2007-07-18 Thread palin
Try running wsconsume from you application server bin directory, this should allow the wsconsume script to correctly set the classpath required to load org/jboss/ws/tools/jaxws/command/wsconsume. Bye Alessio Soldano http://www.javalinux.it View the original post : http://www.jboss.com/index.htm

[jboss-user] [JBossWS] - Re: wsconsume ant task

2007-06-18 Thread rphadnis
You need the getopt.jar in the classpath. If you are using Jboss 4.2 then that file is in the client directory under jboss home. -Rahul View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055356#4055356 Reply to the post : http://www.jboss.com/index.html?module=

[jboss-user] [JBossWS] - Re: wsconsume, now what? server side deployment

2007-06-05 Thread [EMAIL PROTECTED]
This should help: http://jbws.dyndns.org/mediawiki/index.php/Quick_Start If it doesn't, please feel free to add a 2 minute tutorial to the WIKI. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051301#4051301 Reply to the post : http://www.jboss.com/index.ht

[jboss-user] [JBossWS] - Re: wsconsume, now what? server side deployment

2007-05-31 Thread Maffewl
the link seems VERY useful, ill try it now. thanks. anyone else have any info on the matter? never hurts to have too much info. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050118#4050118 Reply to the post : http://www.jboss.com/index.html?module=bb&op=p

[jboss-user] [JBossWS] - Re: wsconsume, now what? server side deployment

2007-05-30 Thread PeterJ
Does this discussion help: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=104843 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049930#4049930 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049930 ___

[jboss-user] [JBossWS] - Re: wsconsume install on jboss4.0.5.GA

2007-05-16 Thread henrik.lindberg
actually none of the .bat files got copied View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046198#4046198 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046198 ___ jboss-user m

[jboss-user] [JBossWS] - Re: wsconsume - Problems regarding http://www.w3.org/2001/XM

2007-05-16 Thread [EMAIL PROTECTED]
Could you create a JIRA issue for this and attach the relevant files prior to modification? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046109#4046109 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046109 __

[jboss-user] [JBossWS] - Re: wsconsume install on jboss4.0.5.GA

2007-05-16 Thread [EMAIL PROTECTED]
If it's not being copied then it's a bug. I'll check, thanks for the pointer. But You are right: Copying it manually to /bin should solve the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046104#4046104 Reply to the post : http://www.jboss.com/ind

[jboss-user] [JBossWS] - Re: wsconsume and IllegalStateException

2007-04-20 Thread [EMAIL PROTECTED]
jaxws is not supported for jdk14 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039200#4039200 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039200 ___ jboss-user mailing lis

[jboss-user] [JBossWS] - Re: wsconsume and IllegalStateException

2007-04-19 Thread bypaik
is wsconsume supposed to work with jbossws-1.2.x for jboss 4.0.5 with jdk 1.4? there is no reference to org.jboss.ws.tools.jaxws.impl.WSContractConsumerFactoryImpl except within jbossws-wsconsume-impl.jar which is only usable for jdk 1.5+. can someone clarify this please? thanks View the ori

[jboss-user] [JBossWS] - Re: wsconsume and IllegalStateException

2007-04-19 Thread bypaik
i'm attempting to on getting jbossws-1.2.1 working with jboss-4.0.5 with jdk1.4. i tried building from jbossws-1.2.1 src and i'm running into an issue with IllegalStateException constructor. apparently, jdk1.4 does not have the IllegalStateException(String, Throwable) constructor defined. this

[jboss-user] [JBossWS] - Re: wsconsume and IllegalStateException

2007-04-18 Thread bypaik
i forgot to mention i'm used the deploy-jboss40-jdk14 option. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038623#4038623 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038623 _

[jboss-user] [JBossWS] - Re: wsconsume with provider sample

2007-03-28 Thread [EMAIL PROTECTED]
Right so in his case he has a bare style service since it is using the same type definition for request/response (does not qualify for wrapped). Yours does qualify for wrapped, so I am guessing you are seeing holders because getSimilarStructures and getSimilarStructuresResponse schema types shar

[jboss-user] [JBossWS] - Re: wsconsume with provider sample

2007-03-28 Thread JimDaues
thanks Jason. that is true for superomega's example but is not for mine | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032322#4032322 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4

[jboss-user] [JBossWS] - Re: wsconsume with provider sample

2007-03-27 Thread [EMAIL PROTECTED]
Just so you guys know the reason this is happening is that the response and request element have the same name, so per the spec, a Holder is used. -Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032294#4032294 Reply to the post : http://www.jboss.com/

[jboss-user] [JBossWS] - Re: wsconsume with provider sample

2007-03-27 Thread JimDaues
superomega - the trick is to use custom jaxws bindings. e.g. jaxws-bindings.xml http://www.w3.org/2001/XMLSchema"; | xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; | xmlns:jxb="http://java.sun.com/xml/ns/jaxb"; | xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"; | wsdlLocat

[jboss-user] [JBossWS] - Re: wsconsume with provider sample

2007-03-27 Thread JimDaues
I have the equivalent question on the client side. wsconsume generates web service client stubs that return void and use Holder as output args of the method. it can work, but sure is ugly and inconvenient. can one make it generate a more reasonable client interface? View the original post : http

[jboss-user] [JBossWS] - Re: wsconsume with provider sample

2007-03-16 Thread superomega
Hallo again, the question was for this example: Why do I get a void type as result of the method and not a result value from type user? Greets, Werner View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028941#4028941 Reply to the post : http://www.jboss.com/i

[jboss-user] [JBossWS] - Re: wsconsume ant task

2007-03-16 Thread PeterJ
Probably the same jar files listed in wsconsume.[bat|sh]. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028850#4028850 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028850 _

[jboss-user] [JBossWS] - Re: wsconsume -- unable to resolve type definition

2007-03-15 Thread oskar.carlstedt
Hello!! This is just a guess, or more, just have it in mind. I was in a project where we had to integrate the old JBoss WS4EE with Microsoft .NET. If the wsdl is using document literal and was compatible with the WS-I Basic Profile, we succeeded, otherwise not. Best Oskar View the original