[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2008-07-01 Thread poisoner
the problem is solved. With java 1.6 it needs jaxb 2.1, i put it in /lib/endorsed directory. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161808#4161808 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161808 _

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2008-07-01 Thread poisoner
I tried also the zeeshan.javeed hello world example (foo.war in the log) but it also doesn't work. I cannot run any simple web services??? 11:40:08,000 ERROR [MainDeployer] Could not start deployment: file:/C:/jboss/jboss-portal-2.6.2.GA/server/default/deploy/foo.war | java.lang.LinkageError:

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2008-07-01 Thread poisoner
Here is the error, why I get this error? 10:55:03,796 INFO [DefaultEndpointRegistry] register: jboss.ws:context=sum,endpoint=Sum | 10:55:04,062 INFO [TomcatDeployer] deploy, ctxPath=/sum, warUrl=.../tmp/deploy/tmp32805sum-exp.war/ | 10:55:04,281 ERROR [MainDeployer] Could not start deployme

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2008-06-30 Thread poisoner
Hi, i am trying the same example but i am getting incomplete deployment. The service is registered, but the wsdl is empty. Somebody to have idea what is the problem? | 15:41:47,421 ERROR [URLDeploymentScanner] Incomplete Deployment listing: | | --- Packages waiting for a deployer --- | [

[jboss-user] [JBossWS] - Re: jbossws tutorial

2007-10-30 Thread [EMAIL PROTECTED]
http://jbws.dyndns.org/mediawiki/index.php?title=JAX-RPC_User_Guide Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100116#4100116 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100116 __

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-20 Thread abdujaparov
Hi excuse me if I'm answering only now however. In my client package there are the classes genereted with WSDL2Java (an axis tool), these classes are the stub that I use to invoke the service. Now I have a problem, if I try to use wsconsume in the following way: wsconsume.bat -k http://localhost:

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-19 Thread zeeshan.javeed
:) the problem was my constructor was not declard with PUBLIC modifier. The second thing, the war file is never published if it is renamed from .rar extension to .war. It should always be proper zip file and that can renamed to war and it works fine. View the original post : http://www.jboss

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-19 Thread zeeshan.javeed
I was doing a mistake and it deployed succesfully. Now , I created consumer.java | import java.rmi.RemoteException; | | import javax.xml.rpc.ServiceException; | import de.iplabs.*; | | public class consumer | { |public static void main(String args[]) |{ | |

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-19 Thread jtestori
i can't see any problem, i tried it exactly with the code you have posted and it works View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096976#4096976 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096976 ___

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-19 Thread zeeshan.javeed
hi, Anyone have any idea how we can deploy a bit complex structure. I have one Interface class, HelloWorld and the other file is HelloWorldImpl. HelloWord. java | package de.iplabs; | public interface HelloWorld | { | | public void setName(String name); | public Strin

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-19 Thread zeeshan.javeed
Thanks , its working from there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096925#4096925 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096925 ___ jboss-user mailing li

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-19 Thread jtestori
from the bin folder, the following works for me | wsconsume -k http://localhost:8080/myservice?WSDL | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096887#4096887 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=409

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-19 Thread jtestori
i'm using jboss-4.2.1.GA and the wsconsume in the bin-folder | @echo off | | rem $Id: wsgen.bat 2158 2007-01-27 06:20:59Z [EMAIL PROTECTED] $ | | @if not "%ECHO%" == "" echo %ECHO% | @if "%OS%" == "Windows_NT" setlocal | | set DIRNAME=.\ | if "%OS%" == "Windows_NT" set DIRN

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-19 Thread zeeshan.javeed
Hi abdujaparov, I got few question.. what is in the package of client.*; this points to ur webservice provider classes?? how you know which service locator you have to call along port ?? SumService ss = new SumServiceLocator(); // How you know SumServiceLocator you have to call ? and also .ge

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-19 Thread abdujaparov
Hi everybody, I developed my client class with axis, with wsdl2java I have produced the stubs classes for the client. For the client you can use every solution. The tools as wsprovide or wsconsume give me the same error of zeeshan and I don't know how can resolve it. The client code is the follo

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-19 Thread zeeshan.javeed
HI, I have tried to use both, wsconsume, and wsproivder but all the time i am getting error of ClassDEFFOUNDERROR. Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/wsf/spi/tools/cmd/WSConsume Althouhg, I have set classpath to jbossws-spi, where these files are present. I a

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-19 Thread jtestori
http://www.jboss.org/?module=bb&op=viewtopic&t=103420 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096849#4096849 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096849 ___ j

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-19 Thread zeeshan.javeed
Hi, Thanks a lot man. Another favour, can you please put the code of your consumer class (client class). What is the role of different tools provided with Jbossws. For example, wsconsume.bat wsprovide.bat wstools.bat and wsrunclient.bat Thanks. Zeeshan. View the original post : http://www.j

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-18 Thread abdujaparov
Hi zeeshan.javeed, this is my code: | package sum; | | import javax.jws.WebMethod; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | | | | @WebService | @SOAPBinding(style = SOAPBinding.Style.RPC) | public class Sum { | | @WebMethod |

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-18 Thread zeeshan.javeed
Hi, You was very right that we have to speficy a package name. Without package name , it did not work but now it works. Now I will create a client and will keep on posting. Thanks in deed. Regards, Zeeshan Javeed. View the original post : http://www.jboss.com/index.html?module=bb&op=view

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-18 Thread zeeshan.javeed
Hi, abdujaparov is it possible for you to post here your complete code including how u make war file ... I am not able to see any error on server console but also not able to see my webservice on jbossws page. plz do help me out. Thanks. View the original post : http://www.jboss.com/inde

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-18 Thread abdujaparov
Thanks you jtestori, the service works! I've written a client with the stubs genereted by axis from the wsdl was generated by jboss and everything work! If I go to the list of deployed services I find my service, in this screenview I have some statistics about the service, how can I get this sta

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-18 Thread jtestori
"abdujaparov" wrote : Thank you! I deployed my web service. I have generated the web service wsdl, does it means that the web service work correctly? | if you mean that the url ...?WSDL shows the wsdl-file in the browser, your service should be up and running "abdujaparov" wrote : Another que

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-18 Thread jtestori
i think you need a package, i got an exception in the server.log when i tried without one View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096573#4096573 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096573

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-18 Thread zeeshan.javeed
if I unzip my file the structure is as FirstTest- +META-INF +WEB-INF - web.xml +classes -Test.class Any clue? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096570#4096570 Reply to the post : http://www.jboss.com/index.html?mod

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-18 Thread abdujaparov
Thank you! I deployed my web service. I have generated the web service wsdl, does it means that the web service work correctly? Another question, I must write a web service that read/write an xml file, what is the current path of the war package? Thanks again! Bye Bye. View the original post :

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-18 Thread jtestori
wsdl-file will be created automatically are there no more log-entries for your deployment? maybe the structure of your war-file is not correct. could you unzip it and paste a recursive directory-listing here? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=40965

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-18 Thread zeeshan.javeed
Hi, NOw let me repeat what I have done Test.Java __ import javax.jws.WebMethod; import javax.jws.WebService; import javax.jws.soap.SOAPBinding; @WebService @SOAPBinding(style = SOAPBinding.Style.RPC) public class Test { @WebMethod public String echo(String param) {

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-18 Thread jtestori
per default the url is http://localhost:8080/jbossws/ after deploying the war-file you should see something like this in the log-file (/server/default/log/server.log) and/or on the console: | 8:58,078 INFO [org.jboss.ws.core.server.ServiceEndpointManager] WebService started: http://127.0.0.

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-18 Thread zeeshan.javeed
Hi, Thanks for such a great help. Now files are compiled and deployed sucsessfully but I am not able to see any published service on JBOSSWS page. for example http://localhost/jbossws/ is the url where i can see that jbossws is running and up. how I see my my published service?? Regards, Zee

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-18 Thread jtestori
java-source (you need jboss-jaxws.jar to compile it) | package ws.test; /* you can use any package */ | | import javax.jws.WebMethod; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | | @WebService | @SOAPBinding(style = SOAPBinding.Style.RPC) | public class

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-18 Thread zeeshan.javeed
Hi, Can you please do a favour and paste here the compelte files. Test.java (with all imports as I am getting compiling error) web.xml (refering to this Test.java). Please , kick us to start... Regards, Zeeshan. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-18 Thread jtestori
copy the web.xml and change the servlet-class to your webservice's class and the servlet-name (twice) to whatever you like to i don't know if it can be created automatically, i always do it manually View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096442#4096442

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-18 Thread abdujaparov
Mmm, I must create a zip file with the class file that describes the web service like this: | @WebService | @SOAPBinding(style = SOAPBinding.Style.RPC) | public class Test | { |@WebMethod |public String echo(String input) |{ | retu

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-18 Thread zeeshan.javeed
Hi, Thanks for your response. Again my question is still there. How to start from a scratch? Can you please eloborate how to make a simple HelloWorld Service. Which in ping send message, 'Hello World' My question goes, how to creat this class, how to use tools to create WSDL file. Its clear on

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-18 Thread jtestori
hm, something happened with the zip-file-structure: | | | +-- | +-- | +-- web.xml | +-- |+-- put your class-files here (including packages) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096408#4096408 Reply to the post

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-18 Thread jtestori
you can do the following: create a zip-file with the follwoing structure (folders are between < and >) | +-- +-- +-- web.xml +-- +-- put your class-files here (including packages) rename the zip-file to a war-file and copy it to /server/default/deploy (if you are using

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-18 Thread abdujaparov
Hi I have read that guide but I haven't understood much. First I had to write the class that implements the service but then I don't know what I have to do. In that page there's this file xml: | | | TestService | org.jboss.test.ws.jaxws.samples.jsr181pojo.JSEBean01

[jboss-user] [JBossWS] - Re: Jbossws Tutorial.

2007-10-17 Thread [EMAIL PROTECTED]
Did you take a look at the documentation? In particular, speaking of POJO endpoint, check this: http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_User_Guide#Plain_old_Java_Object_.28POJO.29 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096176#4096176

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

2007-02-01 Thread [EMAIL PROTECTED]
The status of the JAXWS userguide is reflected here http://jira.jboss.org/jira/browse/JBWS-1307 The URL above it the JAXRPC user guide. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009353#4009353 Reply to the post : http://www.jboss.com/index.html?module

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

2007-01-17 Thread Sanver
thanks RomeuFigueira, i didn't notice it before.. I'll take a look at it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002710#4002710 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002710 __

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

2007-01-16 Thread RomeuFigueira
"Sanver" wrote : Will you finally release a userguide? http://labs.jboss.com/portal/jbossws/user-guide/en/html/index.html It's been there for quite some time now. (Reference obtained through the wiki) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002249#4002

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

2007-01-16 Thread Sanver
Will you finally release a userguide? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002212#4002212 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002212 ___ jboss-user mailin