Hi,
For sake of simplicity I'll refer to the sample Teller Service introduced in
chapter 5 of AS Getting Started Guide, but I'm experiencing the same kind of
problem when I try to deploy my own web services...
I'm currently using JBoss AS 4.0.4. and when I try to deploy a document-style
web
Hi!,
I'm having trouble generating wsdl with wstools.bat in Windows. I have
copy-pasted the JBossWS User Guide's simple RPC Style Endpoint example and
I'm trying to run wstools for it but it generates the following errors:
log4j:WARN No appenders could be found for logger
I have had a problem with web services stripping #A; from inbound attributes
on message based web services. This happened on Axis so I though I would give
yours a try and it does it too. Is this the standard or should it keep them?
I debugged it and found and fixed where it is happening.
Hi, I have a problem with my web services when I want to deploy the web
services in
Jboss, using Eclipse Web Tools. The error is:
IWAB0489E Error when deploying Web service to Axis runtime.
I am running with:
Jboss 4.0.3_SP1
eclipse-SDK-3.1.2
The problem is when I integrate Jboss in eclipse
Hi all:
I am trying to create a webservice with EJB3 etc.. I read and tried all
examples to find out how this stuff works... But my problem is I have to create
this webservice with an ear file... And I didn't find an example like this.
In this ear file is a war and a jar file. The war file is
I took the sample document style example and added a second method for both
bare and wrapped. Then I modified the build and created the war files. When I
deploy the war files and invoke the methods. For te wrapped style, it works
fine. For the bare style, invoking any method other than the
I am currently using :
JBOSS AS 4.0.3sp1
JWSDP 1.6
I dowloaded JWSDP 1.6 and ran the ant build scripts in the the
JWSDPHOME/jaxrpc/samples/HelloWorld directory:
This produced a jaxrpc-HelloWorld.war. I copied this war file to
JBOSSHOME/server/mytestserver/deploy directory:
Initially, JBOSS
Hi,
I am deploying my service on Jboss4.0.1SP1.
My schema has xsd:any element defined in many of my complex types.
I used the WSDL2Java axis ant task to generate the articfacts. The
deploy.wsdd generated by axis has this entry
typeMapping
Hi
I wanted to run jbossws samples. but dont know which server is suitable for
running samples. i m bit confused as it is written in build.properties about
jboss 5 (which i dont know where to download) but only jboss 404 cr2 is
available. But if i run ant tool gave some errors for No Class
With jboss-4.0.3SP1 jboss-4.0.4RC1 i have used this in the init method to get
the url used to call my servlet style web service endpoint...
| public void init(Object p_context) throws ServiceException
| {
| ServletEndpointContext l_jaxrpcContext =
(ServletEndpointContext)p_context;
Hi
I have problem in deploying webservice , i am using jdk-5 and using wscompile
to generate mapping file
when i try to deploy the webservices it is giving the follwing error:
04:02:52,531 INFO [WSDLFilePublisher] WSDL published to: file:/C:/Program
I am using JBoss 4.0.4 CR2 and having problems compiling the JSR-181 POJO
sample included with JBossWS.
I get the same error for all web service annotations:
found : javax.jws.WebService
[javac] required: java.lang.annotation.Annotation
[javac] @WebService(
I have EJB 3.0 installed
My goal is to provide both soap and http bindings for a web service that I am
currently developing. I have had no problem deploying the soap/document
literal version.
I am starting from wsdl and using wscompile to generate the server side
artifacts.
The tool of choice on the wiki is
Hello,
I have written a WS that returns a java.util.Vector. The WS runs on JBoss.
Running the client, JBoss AS too, says:
WARN [TypeMappingDescription] Class not found: com.sun.java.Vector
|
Then a lot of exceptions:
ERROR [Call] Exception:
| org.xml.sax.SAXException: Deserializing
Hi,
Looks like collection types are not supposrted.
I need to return collection of objects(String/int/Long) from my method.
What do I do?
As I can't even generate wsdl file because some methods in my bean are
returning List type.
Are there any collection types supported?
What is the
Hi all,
I have a challenge with the soap:address location in my wsdl after it has been
deployed. I have the soap location address which was originally:
soap:address location=REPLACE_WITH_ACTUAL_URL/
Change to something like:
soap:address location=http://vart:80/myapp/MyService/ , where vart
| 16:39:52,968 WARN [JSR109ServerMetaDataBuilder] Cannot obtain SEI mapping
for: com.acs.arcos.ws4ee.evh.EventHandler
| 16:39:52,968 WARN [JSR109MetaDataBuilder] Cannot obtain java type mapping
for: {http://www.w3.org/2001/XMLSchema}string
| 16:39:52,968 WARN [JSR109MetaDataBuilder]
I had a web service working in WS4EE and now it is giving me an error when I
call it in JbossWS. In both cases I am using Jboss 4.0.4RC1 and I removed the
WS4EE and installed JbossWS.
In WS4EE was giving me an error saying:
interface org.jboss.mx.util.ProxyContext is not visible from class
I've downloaded and installed 4.0.4 RC1 using the graphical installer using the
EJB3 profile. Then following the Wiki, I installed JBossWS. I get this problem
after starting JBoss:
| 19:02:11,406 INFO [Server] Core system initialized
| 19:02:13,171 INFO [Log4jService$URLWatchTimerTask]
Hi,
I am using NetBeans 5.0 RC2 and Jboss 4.0.3 SP1. I have written a Web Service
which will add two input numbers.The Web Service has one method and the return
type is String and input prameter type are int.
When ever i am trying to run the above Ws on JBOSS I am getting following error.
Hello,
I am using JBoss-4.0.3sp1 and Jdk 1.5.
I created the hello web service following the example in the Admin Guide. All
is working and I can access to this wbe service from the two Clients described
in the example at page 421 and 422.
At this point I developed an EJB to access to my web
Hi,
When i am creating the webservice i am getting this error
faultString: java.lang.LinkageError: loader constraints violated when linking
javax/ejb/Handle class; nested exception is:
java.lang.LinkageError: loader constraints violated when linking
javax/ejb/Handle class
View the
Hi,
We are using JBoss 4.0.3 for our webservice implementation.
We want to expose a generic interface which can take a valuetype or any of its
subtypes as parameters.
My Service Interface looks like this
public interface PolicyWS extends java.rmi.Remote {
| public Policy
hi, i am new in jbossWS.
i followed the hello world tutorial in wiki, but i could not work it out.
i think it would be some mis-config in my xml descriptor files.
cause i could deploy the war with the example, and see it listed under
ws4ee/services.
My steps are as follows:
1. create
We need to be able to transfer absolute date, as does Axis for xsd:date and is
not able to do jboss. Is it possible in jax-rpc.xml or still somewhere to
specify jboss use serializer axis, well and to put axis.jar in lib, certainly.
Thanks,
Arman Melkumyan,
VDI,
Java Developer
View the
I am trying to develop a Web service client from a WSDL available online. I
used the WSCOMPILE tool that comes with JWSDP 1.6 to generate the stubs and ...
but I noticed that some of the simple and complex types are not created.
the Primary WSDL file looks like that:
definitions
I am using jboss 4.0.3 and trying to deploy a WS backed with a stateless
session bean. Some methods in the endpoint return arrays of hashtables, which
java2wsdl maps as Apache soap map and this seems related to the error I get
when deploying (see below). Presumably I need to tell jboss about
I'm trying to move a WS from Tomcat/Axis to jboss and having a few problems
deploying it correctly. Several methods are overloaded and when I attempt to
deploy the ear file I'm getting errors re duplicate methods - they do have the
same name but diff. signature. It works OK in previous setup
Hi All,
I have a problem where I've set AlwaysModifySOAPAddress=false in my
jboss-4.0.2\server\x\deploy\jboss-ws4ee.sar\META-INF\jboss-service.xml
file and I supplied a url in the wsdl that I generated from wscompile, but the
url still gets overridden. It doesn't look to me like that should
About: JBossWSAttachStepByStep wiki
(My Env: Jboss 4.0.2, Java: build 1.5.0_02-b09, WinXP SP2, Server and client on
same machine.), I also tried running on Redhat linux 9.0 too.
Hi, I downloaded wsattachment.zip and followed the instructions to deploy and
run it. The deployment is
Using JBossWS (JBoss 4.0.2), wscompile-generated artefacts, I have a problem
with using a custom data type holder. I have implemented the custom holder as
follows.
| public final class WSStatusHolder implements javax.xml.rpc.holders.Holder {
| public WSStatus value;
|
|
Hi,
I have an error and I don't know what to do. I wrote a client to test my web
service, but when I call method call.invoke(argum) I have an error:
Retrieving document at 'http://debug/testws/Test?wsdl'.
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
Hi All,
I'm using similiar code as below to connect to other web services, but it
doesn't seem to be working for babelfish. Anyone tell me why? I'm wondering if
its an incompatible WS somehow. If so, can anyone tell me how I could figure
that out? Something in the wsdl maybe? Any ideas
Hi, I have jUDDI in JBoss4.0.1 configured the same manner as in WIKI JAXR.I
have a small simple Java client and I'm trying to publish a business to the
jUDDI. But I'm getting an error:
The AXIS engine could not find a target service to invoke! targetService is
null
at
Have set up web service in JBoss 4.0.2 of type document/literal,
the argument of my method is a user defined type which contains a field of type
byte[].
class DataDTO() {
| public byte[] data;
| }
the wsdl (generated with wscompile as recommended) contains the schema for this
and looks
I have written my own rpc handler (extending
javax.xml.rpc.handler.GenericHandler) which I have deployed on the
server-side. Then I'm throwing a SOAPFaultException in my handler's
handleRequest method, which I assume should result in the soap fault being
returned to the client? My handleFault
hi,
I have to implement a doc/lit-webservice (B2B) for our order-system. Our
order-system is based on servlets, ejb-components
and jboss4. On basis of this application-environment we decided to implement
the webservice as an ejb service endpoint.
To learn more about jbossws I created a
Hello,
(jboss 4.0.2, wscompile generated doc/lit style WSDL from SEI)
This is not an jboss problem, more a wscompile problem, but maybe anyone of you
here has had the same problem...
I get an exception when my java client receives an exception from my server.
The message is the following:
I am having trouble setting a custom URI for a session based bean. All
references indicate that jboss.xml needs to be modified to add a
port-component element with
port-component-uri/someuri/port-component-uri.
This does not seem to work. The dtd seems to be violated and this is confirmed
I am having an impossible time creating the port-component in the
webservices.xml.
I am using the latest Xdoclet build xdoclet-1.2.3
Xdoclet tags in source:
* @wsee.port-component name=ThePort
* wsdl-port=MyBeanEndpointPort
*
Hello there!
I have the following problem, that I can not find a solution for:
I am _so far successfully_ deploying a slsb as a ws-endpoint:
My wsdl target looks like this for my host:
115
116
117
118
119
120
I'm trying to develop a simple web service that supports document literal, and
I'm getting strange behavior trying to return the response. I developed the
Service Endpoint based upon the Message sample in JBoss 4.0.2 source. I'm
trying to expose a Stateless Session Bean method as a Web Service.
Hello,
I've made my JAR file with the :
WSDL file, jaxrpc-mapping.xml (generated by wscompile)
a webservices.xml file
the EJB (+ejb-jar.xml + jboss.xml)
and the Endpoint Interface
When i deploy the JAR on the server JBoss the JBoss web console show me that i
have a EJB and a WebService deploy
Hi All,
I have a web service running in JBoss 4. Its a servlet style web service and is
a document literal type service. Now I have a MIDlet in the Sun Wirless
Toolkit, that is using the JSR 172 Web Services interface, that calls this web
service. This is the SOAP message (as caught by the
I am having a problem with an ejb that has two params.
The ejb deploys fine, but when I go to http://localhost:8080/ws4ee/services
I get the following error:
| org.jboss.axis.InternalException: java.lang.Exception: The OperationDesc
for hello was not synchronized to a method of
What i want to do:
Generate wsdl file and a jaxrpc-mapping.xml file
In ant i have the following code:
| exec executable=C:\PF\jwsdp-1.5\jaxrpc\bin\wscompile.bat
| arg value=-cp /
| arg value=bin /
| arg
I am trying to test backward comp with EJBs that I created under jboss 3.2.4
under JBoss 4.0.2RC1.
I am able to create an ejb from the old wsdl that and deploy it under jboss-ws
and the old client works great.
I had to use port-component-uri in jboss.xml to change the context to look like
the
I'm using JBoss4.
When I try to acces my web service, I receive the following exception:
12:03:33,796 ERROR [ServiceEndpointInterceptor] Error from service endpoint,
processing fault handler chain
java.lang.NullPointerException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
I rewrote my web service as a SAAJ servlet. The client in this case had the
same problem as the original web service. The cid attachment id is returned
with enclosing . In order for my client to be able to locate the attachment,
I had to add the characters to the Content-Id MIME header used to
I have work through examples and have a simple hello world working gen'd from
an EJB.
I am trying to get a complex EJB, with my objects in and out, working. I am
able to get the server deployed and get the client compiled. The client sends
the request server. The server prints out the
I have a simple EJB HelloWorld that I am trying to get a client connected to.
I have gen'd this as RPC literal style. When I do this. The gen'd code from
the client stub is incorrect. I changed the gen'd sub and added items to the
constructor on QName for the param and return and it
Hi
Getting the following exception,though the service has been deployed
properly,with ?wsdl showing
Is it a classpath problem,AccountDetails not in the classpath or something else
?
[java] AxisFault
| [java] faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
|
HI IHave used Java2WSDL. I have multiple methods with same input ant
output(i.e.) String. But there is an error in generated WSDL.
It says
duplicate element entity: in0
Entry in Build.xml is
|
| target name=wsdl
| java classname=org.apache.axis.wsdl.Java2WSDL
i tie up with this for a long time...
import tu.cs.ips.search.ProductList;
| import tu.cs.ips.search.SearchInfo;
|
| public interface SearchEndpoint extends Remote {
| public ProductList searchProduct(SearchInfo si)throws RemoteException;
| }
i try to expose this this SEI to a web
I am creating a document/literal web service, and I wish to use my own custom
classes for the types used by the web service. I have therefore gone the path
described in:
http://www.jboss.org/wiki/Wiki.jsp?page=WSTypeMapping
However, I am having a hard time getting it to work. Specifically, it
I have webservices successfully running on jboss 4.0.0 but upgrading
to 4.0.1 is causing issues.
I can deploy a SLSB successfully on both containers but my
static jaxrpc client no longer works against 4.0.1
I really want to get 4.0.1 working so I can return useful webservice exceptions
JAXRPC
56 matches
Mail list logo