Re: Service endpoint not found

2015-07-27 Thread Jack Sprat
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

Re: Service endpoint not found

2015-07-27 Thread Jack Sprat
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

Service endpoint not found

2015-07-27 Thread Jack Sprat
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

Unsubscribe instructions

2015-06-10 Thread Jack Sprat
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

Re: Accessing faultstring in Axis2 client

2014-06-06 Thread Jack Sprat
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

Re: Accessing faultstring in Axis2 client

2014-06-06 Thread Jack Sprat
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

Re: Accessing faultstring in Axis2 client

2014-06-06 Thread Jack Sprat
  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

Re: Accessing faultstring in Axis2 client

2014-06-06 Thread Jack Sprat
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

Re: Accessing faultstring in Axis2 client

2014-06-06 Thread Jack Sprat
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

Re: Accessing faultstring in Axis2 client

2014-06-06 Thread Jack Sprat
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

Re: Accessing faultstring in Axis2 client

2014-06-05 Thread Jack Sprat
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.  

Re: Accessing faultstring in Axis2 client

2014-06-04 Thread Jack Sprat
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

Re: Accessing faultstring in Axis2 client

2014-06-04 Thread Jack Sprat
 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

Accessing faultstring in Axis2 client

2014-06-04 Thread Jack Sprat
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(); }

Re: ReST with Axis2

2013-05-22 Thread Jack Sprat
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

Re: ReST with Axis2

2013-05-03 Thread Jack Sprat
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

Re: ReST with Axis2

2013-04-26 Thread Jack Sprat
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..

Re: ReST with Axis2

2013-04-26 Thread Jack Sprat
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

ReST with Axis2

2013-04-24 Thread Jack Sprat
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

Re: [Axis2] wsdl2java with WSDL 2.0

2013-04-22 Thread Jack Sprat
'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

Re: [Axis2] wsdl2java with WSDL 2.0

2013-04-10 Thread Jack Sprat
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

Re: [Axis2] wsdl2java with WSDL 2.0

2013-04-08 Thread Jack Sprat
in-out";;> > >             > xmlns:ship="http://ws.estesexpress.com/schema/shipmenttracking";; /> > >             > xmlns:ship="http://ws.estesexpress.com/schema/shipmenttracking";; /> > >         > >     > > > >     &g

Re: [Axis2] wsdl2java with WSDL 2.0

2013-04-04 Thread Jack Sprat
3.org/ns/wsdl/in-out";;> > >             > xmlns:ship="http://ws.estesexpress.com/schema/shipmenttracking";; /> > >             > xmlns:ship="http://ws.estesexpress.com/schema/shipmenttracking";; /> > >         > >     &

Re: [Axis2] wsdl2java with WSDL 2.0

2013-04-03 Thread Jack Sprat
sdl/in-out";;> > >             > xmlns:ship="http://ws.estesexpress.com/schema/shipmenttracking";; /> > >             > xmlns:ship="http://ws.estesexpress.com/schema/shipmenttracking";; /> > >         > >     > >

Re: [Axis2] wsdl2java with WSDL 2.0

2013-04-02 Thread Jack Sprat
wsdl/soap";;> >         >         >         wsoap:soapAction="http://ws.estesexpress.com/shipmenttracking/echo"/> >         wsoap:soapAction="http://ws.estesexpress.com/shipmenttracking/trackShipments";;> >             >                 >

Re: [Axis2] wsdl2java with WSDL 2.0

2013-04-01 Thread Jack Sprat
;>                                                                                                         Estes shipment tracking web service         https://www.estes-express.com/shipmenttracking/services/ShipmentTracking"/>     Thanks, J

Re: [Axis2] wsdl2java with WSDL 2.0

2013-03-29 Thread Jack Sprat
? 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

Re: [Axis2] wsdl2java with WSDL 2.0

2013-03-28 Thread Jack Sprat
.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 >

[Axis2] wsdl2java with WSDL 2.0

2013-03-25 Thread Jack Sprat
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

Re: [Axis2] REST web service

2013-03-22 Thread Jack Sprat
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.                                                                                                   

[Axis2] XML beans parsing error

2013-03-18 Thread Jack Sprat
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

Re: [Axis2] decimal places

2012-12-10 Thread Jack Sprat
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

[Axis2] decimal places

2012-12-10 Thread Jack Sprat
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

Re: [Axis2] REST web service

2012-07-31 Thread Jack Sprat
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" >

Re: [Axis2] REST web service

2012-07-31 Thread Jack Sprat
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

Re: [Axis2] REST web service

2012-07-23 Thread Jack Sprat
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

Re: [Axis2] REST web service

2012-07-17 Thread Jack Sprat
                                                              Thanks in advance! J ___ From: Kishanthan Thangarajah To: java-user@axis.apache.or

Re: [Axis2] REST web service

2012-07-16 Thread Jack Sprat
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

Re: [Axis2] REST web service

2012-07-11 Thread Jack Sprat
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

Re: [Axis2] REST web service

2012-07-10 Thread Jack Sprat
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

[Axis2] REST web service

2012-07-05 Thread Jack Sprat
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

[Axis2] REST web service

2012-01-24 Thread Jack Sprat
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

Re: Endpoint/Operation not found

2011-12-11 Thread Jack Sprat
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

Re: Endpoint/Operation not found

2011-12-09 Thread Jack Sprat
     http://ws.estesexpress.com/smc/accountSearch/search"; style="document" />                                               SMC account search web service       https://www.estes-express.com/smc/accountsearch/services/AccountSearchService"/>     

Re: Endpoint/Operation not found

2011-12-09 Thread Jack Sprat
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

EPR/Operation not found

2011-12-08 Thread Jack Sprat
(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

Endpoint/Operation not found

2011-12-08 Thread Jack Sprat
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

Re: XML APIs JAR

2011-11-29 Thread Jack Sprat
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

Re: XML APIs JAR

2011-11-28 Thread Jack Sprat
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

Re: XML APIs JAR

2011-11-28 Thread Jack Sprat
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

XML APIs JAR

2011-11-23 Thread Jack Sprat
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

Re: [Aixs2] How to get URL endpoint

2011-09-26 Thread Jack Sprat
" + url.getHost();             if (url.getPort() > 0) {                 domain += ":" + url.getPort();             }         } catch (MalformedURLException e) {         } Thanks. ____ From: Jack Sprat To: "axis-u...@ws.apache.org" Sent:

Re: [Aixs2] How to get URL endpoint

2011-09-26 Thread Jack Sprat
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

[Aixs2] How to get URL endpoint

2011-09-23 Thread Jack Sprat
This should be an easy one. How do I get the URL endpoint from within the Java code? Thanks.

Re: [Axis2] How to debug NPE

2011-09-19 Thread Jack Sprat
. 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

Re: [Axis2] How to debug NPE

2011-09-13 Thread Jack Sprat
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

Re: [Axis2] How to debug NPE

2011-09-13 Thread Jack Sprat
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

Re: [Axis2] How to debug NPE

2011-09-12 Thread Jack Sprat
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. ___

Re: [Axis2] How to debug NPE

2011-09-12 Thread Jack Sprat
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. _

[Axis2] How to debug NPE

2011-09-12 Thread Jack Sprat
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?

[Axis2] web service calling another service

2010-06-15 Thread Jack Sprat
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.

Re: [Axis2] Schema validation with ADB

2010-06-12 Thread Jack Sprat
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

[Axis2] Schema validation with ADB

2010-06-09 Thread Jack Sprat
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