No. HTTP error 404 - not found.
This is running on Websphere 8.0. There is something "off" on this particular
service.
Thanks,T
On Monday, July 27, 2015 11:20 AM, robertlazarski .
wrote:
On Mon, Jul 27, 2015 at 12:12 PM, Jack Sprat
wrote:
> No, I cannot access that
sp
I think?
That should show the state of the server and also the valid endpoint url's.
On Mon, Jul 27, 2015 at 12:00 PM, Jack Sprat
wrote:
> I know I've run in to this problem before but cannot recall the cause of it.
> I have an Axis 1.6.1 service deployed. When a request is
I know I've run in to this problem before but cannot recall the cause of it. I
have an Axis 1.6.1 service deployed. When a request is made to the simple echo
operation I get the following error:
The service cannot be found for the endpoint reference (EPR)
http://mydomain.com/svcname/services/M
Where are the instructions to unsubscribe from this list?
On Tuesday, June 9, 2015 8:51 PM, Randall Vasquez
wrote:
A client has specified that it is a
security concern for them to show component/class names within error
messages/faults I have a webservice set up and have trie
reas
>
> On Fri, Jun 6, 2014 at 3:29 PM, Jack Sprat
> wrote:
>> Andreas,
>>
>> Thanks very much for the reply. I don't see any methods in the stub class
>> to get the message context. There are many "toOM" methods that convert an
>> object to
Andreas,
How do I get the SOAP fault using the ServiceClient?
Thanks,
Todd
On Friday, June 6, 2014 10:56 AM, Jack Sprat
wrote:
Yes, it does extend the org.apache.axis2.client.Stub class.
On Friday, June 6, 2014 10:36 AM, Andreas Veithen
wrote:
Does it have a _getServiceClient
Yes, it does extend the org.apache.axis2.client.Stub class.
On Friday, June 6, 2014 10:36 AM, Andreas Veithen
wrote:
Does it have a _getServiceClient() method (i.e. does it extend
org.apache.axis2.client.Stub)?
Andreas
On Fri, Jun 6, 2014 at 3:29 PM, Jack Sprat
wrote:
> Andr
ever code I have given is the
working code only. I am using axis2-1.5.1. The axis fault belongs to bellow
package
org.apache.axis2.AxisFault
Thanks,
Satya
On Fri, Jun 6, 2014 at 7:59 PM, Jack Sprat
wrote:
Andreas,
>
>Thanks very much for the reply. I don't see any methods
Veithen
wrote:
IIRC, the stub has a method to access the (last) message context. From
there you should be able to get to the response message and extract
the SOAP fault.
Andreas
On Thu, Jun 5, 2014 at 2:43 PM, Jack Sprat
wrote:
> There is a method in the Exception class named #getF
his is not easy, may bellow methods help to solve your problem
af.getFaultAction()
af.getFaultRole()
af.getMessage()
af.getReason()
Thanks,
Satya
On Thu, Jun 5, 2014 at 7:13 PM, Jack Sprat
wrote:
There is a method in the Exception class named #getFaultMessage. This retu
There is a method in the Exception class named #getFaultMessage. This returns
blank, which is correct since there is no text in the exception. It would be
very easy if this was the answer.
I need to get the faultstring. The faultstring is outside the exception. See
the XML snippet below.
If only it where that easy. :) This is the question - how do I get access to
the fault itself? The client code makes the request and returns a successful
response (Publication object) or an exception. The exception is in the
element of the SOAP fault. I need to get the faultstring. Below
The AxisFault class is not available here. If so, it would be trivial. Only
the defined response OR an exception is returned (see code below). Is there
any way to get the faultstring?
Thanks,
J
On Wednesday, June 4, 2014 11:19 AM, Martin Gainty wrote:
AxisFault.java
/**
* D
I have a simple question - how do I access the SOAP faultcode and faultstring
in an Axis2 client?
The client code calls the web service operation and returns the response or
throws an exception:
try {
stub.getPublication(pub, auth);
}
catch (WebServiceException wse) {
wse.printStackTrace();
}
t: Re: ReST with Axis2
Hello Jack,
you are completely right, looking forward,
many thanks!
Have a good weekend
Roman
From:
Jack Sprat
To:
"java-user@axis.apache.org"
Date:
03-05-13 15:30
Subject:
Re: ReST with
Axis2
Roman
From: Kishanthan Thangarajah
To: "java-...@axis.apache.org" , Jack Sprat
Cc: "axis-u...@ws.apache.org"
Date: 26-04-13 23:05
Subject: Re: ReST with Axis2
On Fri, Apr 26, 2013 at 9:09 PM, J
Thank you very much for the reply.
The web service was originally written with WSDL 1.1 and I got the same result
- The response was always blank.
From: Kishanthan Thangarajah
To: "java-...@axis.apache.org" ; Jack Sprat
Cc: "axis-u..
is2 here but will lose the fight if
it will not work for ReST requests.
Please feel free to contact me off-list.
Thank you.
- Original Message -
From: Jack Sprat
To: "axis-u...@ws.apache.org"
Cc:
Sent: Wednesday, April 24, 2013 5:11 PM
Subject: ReST with Axis2
I've bee
I've been struggling with Axis2 and ReST for a few days and hope someone can
help.
I have created a version 2.0 WSDL for a very simple service and can generate
the code stubs using the wsdl2java command. In the WSDL I have 2 bindings - 1
for HTTP and 1 for SOAP. SOAP requests work fine. All
'restPath'
configuration variables in the axis2.xml configuration file?
Thanks,
J
From: Kishanthan Thangarajah
To: "java-...@axis.apache.org" ; Jack Sprat
Cc: "java-user@axis.apache.org"
Sent: Friday, April 19, 2013 3:00 AM
Subj
Can anyone point me to an example or instructions of an Axis2 web service that
works for both SOAP and ReST? I'd really appreciate it.
Thanks,
J
From: Jack Sprat
To: "java-user@axis.apache.org"
Sent: Monday, April 8, 2013 9:08 AM
Subj
in-out";;>
> > > xmlns:ship="http://ws.estesexpress.com/schema/shipmenttracking";; />
> > > xmlns:ship="http://ws.estesexpress.com/schema/shipmenttracking";; />
> >
> >
> >
> >
&g
3.org/ns/wsdl/in-out";;>
> > > xmlns:ship="http://ws.estesexpress.com/schema/shipmenttracking";; />
> > > xmlns:ship="http://ws.estesexpress.com/schema/shipmenttracking";; />
> >
> >
&
sdl/in-out";;>
> > > xmlns:ship="http://ws.estesexpress.com/schema/shipmenttracking";; />
> > > xmlns:ship="http://ws.estesexpress.com/schema/shipmenttracking";; />
> >
> >
> >
wsdl/soap";;>
>
>
> wsoap:soapAction="http://ws.estesexpress.com/shipmenttracking/echo"/>
> wsoap:soapAction="http://ws.estesexpress.com/shipmenttracking/trackShipments";;>
>
>
>
;>
Estes shipment tracking web
service
https://www.estes-express.com/shipmenttracking/services/ShipmentTracking"/>
Thanks,
J
?
Thanks,
J
From: Shameera Rathnayaka
To: java-user@axis.apache.org; Jack Sprat
Cc: "axis-u...@ws.apache.org"
Sent: Thursday, March 28, 2013 11:44 PM
Subject: Re: [Axis2] wsdl2java with WSDL 2.0
Hi Jack,
On Thu, Mar 28, 2013 at 9:15 PM, Jack Sprat wr
.0
On Tue, Mar 26, 2013 at 2:18 AM, Jack Sprat wrote:
> Does the wsdl2java command work with a version 2.0 WSDL? I have created a
> version 2.0 WSDL and validated it with Woden (included with Axis2 1.6.1).
> The WSDL also passed validation using Altova XML Spy. However, an error is
>
Does the wsdl2java command work with a version 2.0 WSDL? I have created a
version 2.0 WSDL and validated it with Woden (included with Axis2 1.6.1). The
WSDL also passed validation using Altova XML Spy. However, an error is thrown
when I try to create the code stubs using wsdl2java. Below is
ing";
attributeFormDefault="unqualified" elementFormDefault="qualified"
targetNamespace="http://ws.estesexpress.com/schema/shipmenttracking";
xml:lang="en">
Common elements for shipment
tracking service. Copyright 2012 Estes Express Lines,
Inc.
I have a problem with the XMLBeans parser where the request document passes
schema validation but throws a NullPointerException. This is Axis2 version
1.6.1.
The error happens with an element defined as an integer (positiveInteger). The
value in the request is 1.0. This passes the XMLBeans s
Thanks for the reply. How do I specify the number of decimal places to
display? For example, if I have a value of 100.6 then how do I ensure the
response shows as 100.60? I want the 0 in the hundredths to show.
J
From: Martin Gainty
To: java-user@axis.apa
I am using XML beans binding in Axis2 version 1.6.1. Is it possible to set up
an element so that a certain number of decimal places is always present when
constructing the response? For example, US dollar amounts normally have
2 decimal places.
I've tried a schema element defined with fractio
anyone..
>
> Can someone assist with my problem? I cannot get my web service to work via
> REST. It works perfectly with a SOAP request.
>
> Thanks.
> J
>
> ____
> From: Jack Sprat
> To: "java-user@axis.apache.org"
>
Kishanthan, Sagara, anyone..
Can someone assist with my problem? I cannot get my web service to work via
REST. It works perfectly with a SOAP request.
Thanks.
J
From: Jack Sprat
To: "java-user@axis.apache.org"
Sent: Monday, July 23, 2012 4:35
don't know where the problem lies. Any help is appreciated.
Thanks,
J
From: Kishanthan Thangarajah
To: java-user@axis.apache.org; Jack Sprat
Cc: "axis-u...@ws.apache.org"
Sent: Saturday, July 21, 2012 3:25 PM
Subject: Re: [Axis2] REST web ser
Thanks in advance!
J
___
From: Kishanthan Thangarajah
To: java-user@axis.apache.or
Sagara and all,
I've supplied the WSDL. Can anyone respond to my question?
Thanks,
J
___
From: Jack Sprat
To: "java-user@axis.apache.org"
Cc: "axis-u...@ws.apache.org"
Sent: Wednesday, July 11, 2012 12:43 PM
Subject: Re: [Axis2] RES
To: java-user@axis.apache.org
Cc: "axis-u...@ws.apache.org"
Sent: Tuesday, July 10, 2012 1:26 PM
Subject: Re: [Axis2] REST web service
Did you use code first approach ? if so provide the complete WSDL file.
Thanks !
On Tue, Jul 10, 2012 at 6:42 PM, Jack Sprat wrote:
> Can someone pl
Can someone please answer my question below?
Thanks!
From: Jack Sprat
To: "axis-u...@ws.apache.org"
Sent: Thursday, July 5, 2012 5:09 PM
Subject: [Axis2] REST web service
I have a WSDL 1.1 web service with 2 operations. The service was generated
I have a WSDL 1.1 web service with 2 operations. The service was generated
from the WSDL with Axis2 1.6.1. One operation is a simple echo that I am
trying to invoke via REST. The echo operation should return the request string
in the response. I can access the operation but nothing comes bac
I have a WSDL 1.1 web service with 2 operations. One is a simple echo that I
am trying to invoke via REST. The echo operation should giove back the request
string in the response. I can access the operation but cannot pass the data in
the single element in the inbound request. I thought it s
Can anyone help with this? I've been trying to solve this error for 2 days
now. It must be something I am missing and hope another pair of eyes can see
it.
I've tried eliminating all operations but the "search" (no quotes) operation
and the service still fails with the "The endpoint referenc
http://ws.estesexpress.com/smc/accountSearch/search";
style="document" />
SMC account search web service
https://www.estes-express.com/smc/accountsearch/services/AccountSearchService"/>
Thanks very much (Danke schon) for the reply.
The WSDL is below. The echo, errorTest and validTest operations work fine.
The search operation fails. The domain name has been changed to protect the
innocent. :)
wsdl:definitions
name="AccountSearchService"targetNamespace="http://ws.mydomain
(Apologies if this was received. It was sent to a different address.)
I've been struggling with the dreaded "The endpoint reference (EPR) for the
Operation not found..." error for over a day. I've read Keith Chapman's blog
post
(http://www.keith-chapman.org/2009/02/axis2-endpoint-reference-ep
I've been struggling with the dreaded "The endpoint reference (EPR) for the
Operation not found..." error for over a day. I've read Keith Chapman's blog
post
(http://www.keith-chapman.org/2009/02/axis2-endpoint-reference-epr-for.html),
used TCPMon and debugged and still don't know why the oper
s upgrade to a recent fix
pack before reporting issues (to make debugging easier).
- Regarding option 2, if you use the XmlBeans data binding, then
obviously that option is not applicable.
- Option 3 is the only option that is really guaranteed to
solve the issue.
Andreas
On Mon, Nov 28, 20
M support more than the people who are
maintaining Axis2, then what are you still expecting from us?
Andreas
On Mon, Nov 28, 2011 at 19:10, Jack Sprat wrote:
> Thank you for the reply.
> Most of that article does not apply to us. The Websphere Web Service
> feature pack is not installed
ading issues is that there are so many
> variables that it is virtually impossible to debug them from a
> distance. The first thing you should do is to realign your setup with
> the guidelines for deployment on WebSphere given in [1].
>
> Andreas
>
> [1] https://builds.apac
We have a situation in Websphere 6.1 where there is a class loading problem
with an Axis2 1.5.2 web service. The class loading is set to PARENT_LAST on
the web app. That is the first thing I always do with Axis2 web services
running on Websphere.
We've determined that the class loading proble
" + url.getHost();
if (url.getPort() > 0) {
domain += ":" + url.getPort();
}
} catch (MalformedURLException e) {
}
Thanks.
____
From: Jack Sprat
To: "axis-u...@ws.apache.org"
Sent:
Anyone? I thought this would be an easy question to answer.
From: Jack Sprat
To: "axis-u...@ws.apache.org"
Sent: Friday, September 23, 2011 5:47 PM
Subject: [Aixs2] How to get URL endpoint
This should be an easy one. How do I get the URL end
This should be an easy one. How do I get the URL endpoint from within the Java
code?
Thanks.
.
From: Jack Sprat
To: "java-user@axis.apache.org"
Sent: Tuesday, September 13, 2011 5:20 PM
Subject: Re: [Axis2] How to debug NPE
I was able to get the error returned in the SOAP response after removing the
custom handler. It is:
The service cannot be found for th
G:>> " [\n]"
Tue Sep 13 17:09:00 EDT 2011:DEBUG:>> " test 2011-09-13
at 1640[\n]"
Tue Sep 13 17:09:00 EDT 2011:DEBUG:>> " [\n]"
Tue Sep 13 17:09:00 EDT 2011:DEBUG:>> ""
What can I check to find out why Axis2 cannot find
Utils class. What would be causing the MessageContext object in
the HTTPTransportUtils class to have the null fields?
Thanks for any tips.
From: Jack Sprat
To: "axis-u...@ws.apache.org"
Sent: Monday, September 12, 2011 3:51 PM
Subject: [Axis2] H
That is the problem. I have no idea where the error is occurring and don't
know where the error and/or stack trace is being logged. There is nothing in
system.err or system.out or any of the Websphere logs that I can see. There is
only the NPE in the SOAP reply.
___
The Websphere server is running in debug mode. I have a breakpoint already set
in the echo operation of the service class but the NPE is happening before
that. How can I debug prior to reaching the code in this service? How can I
tell where the NPE is occurring?
Thanks.
_
I've got a new Axis2 1.5.2 web service using XML Beans binding. The code was
generated with WSDL2Java. I can access the WSDL using the ?wsdl link.
There is a simple echo operation to test connectivity. This yields a Null
Pointer exception in the SOAP reply.
My question is how do I debug this?
I have a need to call an existing web service from another web service. The
idea is to use the existing logic in the existing service. Is this possible?
If so, can someone point me to an example or some tips on getting this done?
Thanks.
ith ADB
To: java-user@axis.apache.org
Cc: axis-u...@ws.apache.org
Date: Saturday, June 12, 2010, 1:38 AM
On Thu, Jun 10, 2010 at 1:40 AM, Jack Sprat wrote:
Is there a simple way to perform schema validation when using ADB? Examples
would be quite helpful.
I know this is simple with XM
Is there a simple way to perform schema validation when using ADB? Examples
would be quite helpful.
I know this is simple with XMLBeans but have a service using ADB where I need
to validate the inbound request.
Thanks.
J
63 matches
Mail list logo