RE: Axis2 1.3 Rest Support

2007-11-28 Thread John Pfeifer
. Thanks, Keith. On Nov 27, 2007 11:11 PM, John Pfeifer [EMAIL PROTECTED] wrote: Keith, Thanks for the info. I deployed the axis2.war file and the Version service works properly. The axis2.xml is identical to the one that I use in my war file. I am still having the same issue with my web

Axis2 1.3 Rest Support

2007-11-27 Thread John Pfeifer
I recently upgraded from Axis2 1.1 to 1.3. In version 1.1 I configured the RestServlet to handle all requests to /rest/*. The web services themselves aren't truely restful, but I need to be able to support both SOAP and POX. Basically what I want is for my web service to support both SOAP

RE: Axis2 1.3 Rest Support

2007-11-27 Thread John Pfeifer
, Keith. On Nov 27, 2007 9:07 PM, John Pfeifer [EMAIL PROTECTED] wrote: I recently upgraded from Axis2 1.1 to 1.3. In version 1.1 I configured the RestServlet to handle all requests to /rest/*. The web services themselves aren't truely restful, but I need to be able to support both SOAP

Issue upgrading from 1.1 to 1.3

2007-11-21 Thread John Pfeifer
I just upgraded to axis2 version 1.3 from 1.1. I am using the messageReceiver class=org.apache.axis2.receivers.RawXMLINOutMessageReceiver/. I can read the incoming SOAP request just fine, but my client now receives the XML response without the SOAP Envelope. Is there anything special that

RE: Issue upgrading from 1.1 to 1.3

2007-11-21 Thread John Pfeifer
.transport.http.SOAPMessageFormatter/ That seems to have fixed the issue. If I want to enable REST, will this cause the service to return a SOAP message? -Original Message- From: John Pfeifer [mailto:[EMAIL PROTECTED] Sent: Wed 11/21/2007 1:06 PM To: axis-user@ws.apache.org Subject: Issue

RE: Problem with weblogic 9.2 axis2-1.2 war deployment

2007-09-16 Thread John Pfeifer
I have found that u have to deploy the war exploded in wls 9 otherwise services won't deploy. -Original Message- From: vittal nangunoori [EMAIL PROTECTED] To: axis-user@ws.apache.org axis-user@ws.apache.org Sent: 9/16/07 8:57 AM Subject: Re: Problem with weblogic 9.2 axis2-1.2 war

RE: Problem with weblogic 9.2 axis2-1.2 war deployment

2007-09-16 Thread John Pfeifer
. -Original Message- From: John Pfeifer [EMAIL PROTECTED] To: axis-user@ws.apache.org axis-user@ws.apache.org Sent: 9/16/07 9:18 AM Subject: RE: Problem with weblogic 9.2 axis2-1.2 war deployment I have found that u have to deploy the war exploded in wls 9 otherwise services won't deploy

RE: Axis2 service not returning SOAP Message

2007-08-14 Thread John Pfeifer
What is the version of Axis2? and what is the content-type of the response message? Thanks, Keith. On 8/13/07, John Pfeifer [EMAIL PROTECTED] wrote: I noticied something bizarre that just started happening with my web service. The response returned from Axis2 does not contain the Soap

RE: Axis2 Spring Question

2007-08-14 Thread John Pfeifer
at the web app level, all you really need to do is just have an aar with its services.xml and perhaps wsdl's and xsd's - and move all the classes to be under WEB-INF/lib and WEB-INF/classes. HTH, Robert On 8/12/07, John Pfeifer [EMAIL PROTECTED] wrote: Robert I was able

Axis2 service not returning SOAP Message

2007-08-13 Thread John Pfeifer
I noticied something bizarre that just started happening with my web service. The response returned from Axis2 does not contain the Soap Envelop or Body. The only thing that is returned is the XML reponse that my application generated. I can't seem to find a stacktrace anywhere and I'm not

RE: Axis2 Spring Question

2007-08-12 Thread John Pfeifer
/receivers/ApplicationContextHolder.html http://www.springframework.org/docs/api/org/springframework/beans/factory/BeanFactory.html#getBean(java.lang.String) HTH, Robert On 8/10/07, John Pfeifer [EMAIL PROTECTED] wrote: I currently have my web services running with axis2 (1.1) and spring running

RE: Axis2 Spring Question

2007-08-12 Thread John Pfeifer
] To: axis-user@ws.apache.org axis-user@ws.apache.org Sent: 8/12/07 4:38 PM Subject: Re: Axis2 Spring Question Try using the bean I showed you - that'll work inside or outside the aar. Robert On 8/12/07, John Pfeifer [EMAIL PROTECTED] wrote: Robert, My original configuration was an aar file

RE: Axis2 Spring Question

2007-08-12 Thread John Pfeifer
. HTH, Robert On 8/12/07, John Pfeifer [EMAIL PROTECTED] wrote: Robert I was able to get a bean using the appcontextholder. The problem was when I imported the class for that bean in my servlet I got a noclassdeffound error. If I treated the bean as object it worked. Thanks John

Axis2 Spring Question

2007-08-10 Thread John Pfeifer
I currently have my web services running with axis2 (1.1) and spring running inside the aar. Recently I have discovered a need for servlets and/or web pages to get access to the objects that are in the spring context. If I move spring to the WEB-INF/lib, can I do this? The Axis2-Spring

RE: Including jars in an aar

2007-06-13 Thread John Pfeifer
If you want to package jars into an aar file, the jar should contain a lib directory with all of the jars that you want to include. If you are using Maven, you can use the aar plugin for maven. In addition, you should take a look at Spring support for Axis2. -Original Message- From:

RE: Collapsing Whitespace with Axis2

2007-06-11 Thread John Pfeifer
and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 John Pfeifer wrote: I was wondering if there is a way to configure Axis2 to trim leading and trailing whitespace before the web service is called. I am valdating

RE: Collapsing Whitespace with Axis2

2007-06-09 Thread John Pfeifer
@ws.apache.org Subject: Re: Collapsing Whitespace with Axis2 What is the client in this case? Paul On 6/8/07, John Pfeifer [EMAIL PROTECTED] wrote: I was wondering if there is a way to configure Axis2 to trim leading and trailing whitespace before the web service is called. I am valdating all

Collapsing Whitespace with Axis2

2007-06-08 Thread John Pfeifer
I was wondering if there is a way to configure Axis2 to trim leading and trailing whitespace before the web service is called. I am valdating all incoming requests against an XSD but I have found that xsd:decimal validation uses whitespace collapse by default. This allows values like 9.99

Stax API Issues on Weblogic 9

2007-05-29 Thread John Pfeifer
I am running into an issue running axis2 on Weblogic 9... If I remove the servlet-api-2.3.jar from the axis2.war file I get the following error. Root cause of ServletException. [java] java.lang.NoSuchMethodError:

RE: Stax API Issues on Weblogic 9

2007-05-29 Thread John Pfeifer
PROTECTED] Sent: Tue 5/29/2007 10:36 AM To: John Pfeifer Subject: RE: Stax API Issues on Weblogic 9 yes - your axis application class path. -Original Message- From: John Pfeifer [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 7:52 PM To: Pal, Ravi Subject: RE: Stax API Issues on Weblogic

Re: Axis 1.2 WAR Distribution

2007-04-29 Thread John Pfeifer
? thanks, dims On 4/28/07, John Pfeifer [EMAIL PROTECTED] wrote: I can't seem to find the axis2.war file on the ibiblio maven repository. I was under the impression that the next release would contain the axis2 war file. Was the axis2 war file deployed to the maven repo, if so where can

Axis2 Spring EJB Lookup with Weblogic 814

2007-04-11 Thread John Pfeifer
I was wondering if anyone has been able to get Axis2 Spring integration to lookup EJBs in Weblogic 814. We are running with all libraries in the aar lib directory (this is where the ejb client jars reside). The aar fails to deploy, the root cause being NoClassDefFound. Any help would be

RE: [Axis2] How to use Axis library in a war file

2007-03-22 Thread John Pfeifer
Vinodh, We use maven to copy the aar file into the WEB/services directory of the webapp. If you build your aar file first using maven, then build your war, you can use the following pom.xml snippet to copy your aar into your WAR. It would be really nice if the Axis2 WAR distribution was

RE: [Axis2] Anything in the works to support Weblogic 8.1?

2007-02-22 Thread John Pfeifer
I have been able to deploy axis2 in Weblogic 814 as a war. That war is however exploded by weblogic into the stage directory upon startup. I put the war in the applications directory and weblogic takes care of the rest. Sometimes you have to remove the stage directory after a restart, but

RE: [Axis2] Anything in the works to support Weblogic 8.1?

2007-02-22 Thread John Pfeifer
StagingMode=stage TwoPhase=true WebAppComponent Name=axis2 Targets=myserver URI=axis2.war/ /Application Which didn't work. When I removed \myapp.ear from the path attribute, it worked. Is there a way to put axis2.war in a EAR and still deploy it? Thanks Aspert --- John Pfeifer [EMAIL

Axis2 Service Using Spring TransactionProxyFactoryBean and Hibernate

2007-02-13 Thread John Pfeifer
I am currently using Hibernate 3.2 for ORM with Spring. In addition, I am using the Axis2 Spring integration to load my hibernate configuration and DAO's. Each web service is a bean defined in the spring context and loaded by my SpringInit class. I am at the point where each web service

RE: Axis2 Service Using Spring TransactionProxyFactoryBean and Hibernate

2007-02-13 Thread John Pfeifer
the relevant spring xml file and the AAR services.xml and maybe we can help. Robert On 2/13/07, John Pfeifer [EMAIL PROTECTED] wrote: I am currently using Hibernate 3.2 for ORM with Spring. In addition, I am using the Axis2 Spring integration to load my hibernate configuration and DAO's

RE: Axis2 Service Using Spring TransactionProxyFactoryBean and Hibernate

2007-02-13 Thread John Pfeifer
to me should be the ServiceClass, ie SpringBeanName in services.xml as you need to start the transaction in a class that invokes methods in requestService . Does that make sense to you? Robert On 2/13/07, John Pfeifer [EMAIL PROTECTED] wrote: Robert, Thanks for the reply. I think I understand what

Axis2 War Distribution on Ibiblio Maven Repo

2007-02-11 Thread John Pfeifer
I don't see the axis2.war distributed on the ibiblio maven repository. It would be great if this was released along with the other artifacts. This would prevent me from downloading the axis2.war and unpacking it locally then repackaging it along with my aar files. Are there any plans to

RE: [AXIS2]Classloader error while using Hibernate with AXIS2.

2007-01-22 Thread John Pfeifer
If you use axis2/spring integration, you can load the spring context and hibernate files in the SpringInit service. Before the spring context is loaded, save a reference to the context classloader, then set the context classloader to be the service classloader, load your spring config file, then

RE: Modifying Axis WAR file (Was Re: [Axis2 1.1.1] AAR file andweb.xml)

2007-01-21 Thread John Pfeifer
If your aar file depends on a particular jar that jar should go in the lib directory within the aar file. If you place the jar in the WEB-INF/lib of the axis2.war file then the jar should be available to all aar files as each aar classloader is a child of the webapp classloader. I use maven to

Fail web app deployment if web services fail to deploy... Production Monitoring

2007-01-15 Thread John Pfeifer
Is there a way to fail the axis2 web application deployment if any of the services in WEB-INF/services fail to startup properly? This would be great for monitoring the production environment, such that we can determine that if the web app isn't deployed then something was wrong with one of

Axis2 Generate WSDL from XSD

2006-11-21 Thread John Pfeifer
I have a document literal web service and I would like axis2 to generate the wsdl based on an xsd that I provide. Is there any way to do this currently using Axis2? Thanks, jp4

RE: Schema validation Axis 1.3

2006-11-10 Thread John Pfeifer
Title: RE: Schema validation Axis 1.3 Good luck with this one. I have posted several times about schema validation in axis2 and it looks like you have to do it yourself. I wrote a servlet filter that sits in front of the axis servlet and validates the request against a given xsd.

RE: Schema validation Axis 1.3

2006-11-10 Thread John Pfeifer
1/10/2006 9:06 AM To: axis-user@ws.apache.org Subject: Re: Schema validation Axis 1.3 Hi John, how complex is your filter code? It would be a great entry in the Axis wiki ;-) Regards, Rodrigo Ruiz John Pfeifer wrote: Good luck with this one. I have posted several times about schema validation

RE: [Axis2] including jars in .aar?

2006-11-09 Thread John Pfeifer
Title: RE: [Axis2] including jars in .aar? It should be in the lib directory inside your jar file. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thu 11/9/2006 5:31 PM To: axis-user@ws.apache.org Subject: [Axis2] including jars in .aar? Hi, My service

RE: [Axis2] including jars in .aar?

2006-11-09 Thread John Pfeifer
ClassNotFoundException). Is there anything else I have to do? Thanks - Start Original Message - Sent: Thu, 9 Nov 2006 17:30:18 -0500 From: John Pfeifer [EMAIL PROTECTED] To: axis-user@ws.apache.org, axis-user@ws.apache.org Subject: RE: [Axis2] including jars in .aar? It should

RE: Axis2 Spring Integration, Problems using

2006-11-03 Thread John Pfeifer
); if (logger.isDebugEnabled()) { logger.debug(\n\nstartUp() set spring classloader via axisService.getClassLoader() ... ); } } -Original Message- From: John Pfeifer [mailto:[EMAIL PROTECTED]] Sent: Thu 11/2/2006 5:25 PM To: axis-user@ws.apache.org Subject: Axis2 Spring Integration, Problems

Axis2 Spring Integration, Problems using

2006-11-02 Thread John Pfeifer
Title: Axis2 Spring Integration, Problems using Below I have a snippet from my spring context file that I use in one of my .aar files. The application works fine when I don't use the ProxyFactoryBean, but when I include it, I get a NoClassDefFoundException for the

RE: WSDL Generation for Doc Literal Web Services

2006-10-31 Thread John Pfeifer
) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) -Original Message- From: John Pfeifer [mailto

WSDL Generation for Doc Literal Web Services

2006-10-30 Thread John Pfeifer
Title: WSDL Generation for Doc Literal Web Services We are currently using Document Literal Web Services with XSD Schema Validation. The XSD Validation is performed before the XML is transformed into JiBX objects. Our schemas are fairly simple but perform a lot of data type validation. I

RE: WSDL Generation for Doc Literal Web Services

2006-10-30 Thread John Pfeifer
a doc/literal WSDL for you. Anne On 10/30/06, John Pfeifer [EMAIL PROTECTED] wrote: We are currently using Document Literal Web Services with XSD Schema Validation. The XSD Validation is performed before the XML is transformed into JiBX objects. Our schemas are fairly simple but perform

Axis2 Child First Classloading Issue

2006-10-10 Thread John Pfeifer IV
I have read that Axis2 uses child first classloading, but what I see in my code isnt child first behavior. I have an aar file which contains an xsd and a library in the lib directory which performs schema validation. In my web service, I instantiate the validator and print out the AAR

Axis2 Child First Classloading Issue

2006-10-09 Thread John Pfeifer
I have read that Axis2 uses child first classloading, but what I see in my code isnt child first behavior. I have an aar file which contains an xsd and a library in the lib directory which performs schema validation. In my web service, I instantiate the validator and print out the AAR

Schema Validation using Axis2

2006-10-05 Thread John Pfeifer
Title: Schema Validation using Axis2 I have created a test web service (see below). This service uses the RawXMLINOutMessageReceiver and by default does not have a wsdl. I created a WSDL (where I defined the schema of the xml document) and placed it in the META-INF directory. When I test

RE: How do I create Custom Faults

2006-10-03 Thread John Pfeifer
://www.wso2.net/kb/171 /Sharad _ From: John Pfeifer [mailto:[EMAIL PROTECTED] Sent: Monday, October 02, 2006 2:07 PM To: axis-user@ws.apache.org Subject: How do I create Custom Faults I am attempting to create a simple web service that throws a custom exception but I haven't

How do I create Custom Faults

2006-10-02 Thread John Pfeifer
Title: How do I create Custom Faults I am attempting to create a simple web service that throws a custom exception but I haven't found anything in the apache documents that clearly outlines how to do this. It seems that there are two approaches to creating a web service, the first is to