Hi,
I have a similar problem, but with a slight twist.
(cc'ing jibx list in case it's related.)
normal wsdl2java generation produces services.xml with
useOriginalwsdl=true.
The service runs fine, but it produces the "Unable to generate WSDL 1.1
for this service" error when hitting the ?wsdl
In case anyone cares, I solved this (and my earlier post about client blocking in
socketWrite() ) by getting a new reference to the service through the ServiceLocator.
Maybe that's the way you're supposed to do it and I missed that part...
Linus Kamb wrote:
Why would Axis1 post a
Why would Axis1 post a request as an attachment?
My service returns documents as attachments. The first request goes out as a
normally-formatted soap request. Subsequent requests, however, put the soap message
in to an attachment, as follows. Also, it appears to be attaching the prior respon
I am invoking an Axis1 service from within another (separate machine) Axis2
service.
The Axis1 service is returning documents as attachments using swa.
It all goes basically fine up to a point when the client (Axis2 service calling
through Axis1-generated stubs) hangs.
The Axis1 server logs
-
> Date: Tue, 25 Sep 2007 12:11:58 -0500
> From: [EMAIL PROTECTED]
> To: axis-user@ws.apache.org
> Subject: Re: EPR...Endpoint Reference
>
> The Exception says that you do not have a service defined for "Random".
>
Not sure if this is your trouble, but I had similar troubles.
Look at: http://marc.info/?l=axis-user&m=118954790931434&w=2
use TCPMON to see what your http headers look like (as well as the SOAP
message.)
Linus
Nasreen Laghari wrote:
Hi
Why EPR operation is not found?
Exception: The
can just get fitnesse to do the same
Linus Kamb wrote:
I know this has been discussed before, but I'm stumped.
I have a service running, and I can contact it no problem using a
stand-alone java client that uses the axis-generated stubs.
However, if I run fitnesse tests, they get an
perhaps a better place to start is on the axis pages:
http://ws.apache.org/axis2/1_3/jibx/jibx-codegen-integration.html
there are versions for each release, I believe.
Linus Kamb wrote:
Wes,
You need to provide a jibx binding file that maps the xml to the java
objects.
See http
Wes,
You need to provide a jibx binding file that maps the xml to the java
objects.
See http://www.jibx.org for details.
my wsdl2java ant target looks like this:
so, apparently addressing module was turned on in
webapps/axis2/WEB-INF/conf/axis2.xml.
Commented out that line, restarted, and I get the same EPR not found
error...
Linus Kamb wrote:
Deepal,
Thanks for the response.
However, this is a SOAP invocation, not a REST-style invocation. The
rvice called "MyService"
with a method add as shown below ;
public class MyService {
public int add(int a , int b){
}
}
then your request should be something like below;
http://localhost:8080/axis2/services/MyService/add?a=10&b=15
Thanks
Deepal
Linus Kamb wrote:
I know this
I know this has been discussed before, but I'm stumped.
I have a service running, and I can contact it no problem using a
stand-alone java client that uses the axis-generated stubs.
However, if I run fitnesse tests, they get an error:
The endpoint reference (EPR) for the Operation not found is
Thanks so much for responding.
I will enter a Jira issue.
thanks,
Linus
Amila Suriarachchi wrote:
On 9/5/07, *Linus Kamb* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
So, am I doing something wrong? Or is this a bug?
Axis2 supports xsd file if they are direct
So, am I doing something wrong? Or is this a bug?
Thanks,
Linus
Linus Kamb wrote:
Thanks a lot for looking.
wsdl2java seems to run successfully:
ant target is
Linus Kamb wrote:
I wonder, should those various downloaded xsd's be packaged in the
aar? Seems not right to me, if that's the case. I can try that, but
where should they go?
Well, naively just putting them into META-INF in the aar did not work.
There was a thread earlier
sd
w2j//resources/xsd9.xsd
w2j//src
w2j//src/edu
w2j//src/edu/iris
w2j//src/edu/iris/ws
w2j//src/edu/iris/ws/esdp
w2j//src/edu/iris/ws/esdp/ESPortalCDIMessageReceiverInOut.java
w2j//src/edu/iris/ws/esdp/ESPortalCDISkeleton.java
w2j//src/edu/iris/ws/esdp/ESPortalCDISkeletonInterface.java
I wonder, sh
I am running Axis2 1.3 on Tomcat 5.5.23 on Mac OSX.
I get the following in catalina.out:
[INFO] AARBasedWSDLLocator: Unable to resolve
http://schemas.opengis.net/gml/3.1.1/base/geometryAggregates.xsd
[INFO] Trouble processing wsdl file :WSDLException (at
/wsdl:definitions/wsdl:types/schema/xs:
I know this has been a topic several times before, but I don't see as
it's fixed.
I am using axis2 1.2 in Tomcat 5.5.23 on MacOSX 10.4.10.
I have a WSDL schema, which imports a schema, which imports a schema,
which imports many schemas
After the first import, the schemas use relative URL
Hi, Jared.
Your service is using rpc/encoded.
The identifying parts of the wsdl are:
http://schemas.xmlsoap.org/soap/http"/>
^
http://schemas.xmlsoap.org/soap/encoding/";
namespace="http://webservices.
OAPMonitor, the OOM's start to
occur.
I attached a debug log snippet to the initial message in this thread.
Also, what do you mean by "doc/lit wrapped"?
cheers,
- Jared
On 2/2/06, Linus Kamb <[EMAIL PROTECTED]> wrote:
What "style" of web service are yo
What "style" of web service are you using?
I have successfully sent attachments of > 200MB using doc/lit wrapped,
and I'm sure I could send larger ones.
The trouble I run into is when I try to parse the attachments (they are
XML,) but that is outside of Axis/SOAP.
Jared Klett wrote:
gree
I haven't found a definitive answer to this, but it appears that INOUT parameters are not
supported in doc/lit style. (And furthermore, they are considered bad for interoperability.)
Linus Kamb wrote:
I am trying to craft WSDL for a service that will take an in-out
parameter and retu
I am trying to craft WSDL for a service that will take an in-out parameter and return an
array of attachments. I have been poking around examples, docs, and the WSDL spec, and I
am close, but am still having some troubles.
The method signature I would like:
DataHandler[] returns getProducts
Do you really need the SOAP Body, or do you just want a way to send arbitrary
XML documents?
You can do the latter by having a doc/lit(wrapped) service that takes xsd:anyType (or
apachesoap:Element if you don't care about interoperability). That produces a service
interface method signature o
Don't know if this is standard or even works in all cases (like when using proxy, or
whatnot,) but I do:
MessageContext ctxt = MessageContext.getCurrentContext();
logger.debug("ctxt: " + ctxt );
logger.debug( "transport:" + ctxt.getTransportName());
javax.servlet.ServletRequest request = (javax.
Turns out that the client-config.wsdd was being read (I'm sure no-one is surprised by
that) but that the was in the wrong place in the file...
Why the client was loading server side codes, I still have no idea.
Linus Kamb wrote:
I seem to be having some trouble getting my client to notic
I seem to be having some trouble getting my client to notice and read my
client-config.wsdd file that has a required type mapping.
I have the file available in the current working directory, and also in the root of the
classes build tree and in the package classes directory.
Here is the myste
Is there any way I can get wsdl2java to automatically generate the wsdd typeMapping for
xsd:anyType -> org.w3c.dom.Element ? Otherwise, I have to hand-edit the wsdd every time
I run wsdl2java.
Thanks,
Linus
pe mapping when using the *Stub, but I haven't figured it
out yet. (It is quite possibly right in front of my eyes...)
Thanks,
Linus
Anne Thomas Manes wrote:
Linus,
Try changing your apachesoap:Element type to xsd:anyType, and then
define a mapping for anyType to a DOM Element.
Anne
On
4)
Thanks,
Linus
[EMAIL PROTECTED] wrote:
Linus,
Why do you want the array wrapper?
You may need to use a different doc type, what type are you using?
-Original Message-----
From: Linus Kamb [mailto:[EMAIL PROTECTED]
Sent: Friday, July 15, 2005 3:54 PM
To: axis-user@ws.apache.org
Subject:
I'm sorry. Forgot to restate the problem:
I get a NullPointerException in ArrayUtils when I try to return an array of
org.w3.dom.Elements.
Linus Kamb wrote:
Ok, I'm at a bit of a loss here. I've tried to reduce this to the most
basic test, and I still get the NPE down in
Ok, I'm at a bit of a loss here. I've tried to reduce this to the most basic test, and I
still get the NPE down in axis.utils.
I am hoping somebody can give me a clue as to why this might be happening. It is likely
user-error, but I'm at a loss.
I have reinstalled 1.2.1. I have reinstalled
I am trying to pass arrays of things using wrapper elements (ArrayOf).
However, I cannot get java2wsdl (called via the axis-wsdl2java ant task) to
generate the
wrapper element for arrays of xsd:strings or org.w3c.dom.Element (apachesoap:Element)
objects. It produces wrappers for other complex
I get the exception dump below when trying to return an array of
org.w3c.dom.Elements. The XML is fine. The method returns fine.
Is it an error to try to send or return Element[] in doc/lit wrapped?
I can send the very same XML to the server as doc lit wrapped no problem. It seems to be
a pr
Now using 1.2.1 and all is well. The returned array of DataHandlers is now as long as
expected.
Linus Kamb wrote:
I have a web service that is to return binary data as attachments.
Using Doc/Lit/wrapped.
The interface looks like
DataHandler[] getWaveformAttach(WaveformAttachQuery qry
Running on Tomcat, I have to reload axis.
Interestingly, in a "fresh" axis install in tomcat, I always have to:
deploy
reload_axis
deploy
before the service appears in the list.
James Taylor wrote:
Hi there,
I'm trying to deploy a service to axis using the admin client and is
not lis
anyone successfully done this and therefore I must be doing something wrong?
OR
2) this is not a reasonable way to do this and I should use the Message.getAttachments()
approach OR some other approach to returning multiple attachmens.
Linus Kamb wrote:
I have a web service that is to return
ava:2402)
at org.apache.axis.client.Call.invoke(Call.java:2301)
at org.apache.axis.client.Call.invoke(Call.java:1758)
at
edu.iris.dmc.dhiWS.Dhi_webserviceBindingStub.getWaveformAttach(Dhi_webserviceBindingStub.java:336)
at
edu.iris.dmc.dhiWS.DataPnl.getDataBtnActionPerformed(DataPnl.jav
I have a web service that is to return binary data as attachments.
Using Doc/Lit/wrapped.
The interface looks like
DataHandler[] getWaveformAttach(WaveformAttachQuery qry);
The server appears to be properly packaging up the multiple attachments and returning
them. On the client side, the Dat
39 matches
Mail list logo