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
_
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:
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
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 ---
| [
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
__
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:
:)
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
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[])
|{
|
|
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
___
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
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
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
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
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
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
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
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
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
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
|
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
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
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
"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
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
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
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 :
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
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) {
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.
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
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
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
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
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
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
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
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
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
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
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
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
__
"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
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
43 matches
Mail list logo