.
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
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
,
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
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
.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
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
.
-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
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
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
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
/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
]
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
.
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
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
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:
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
@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
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
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:
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
?
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
);
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
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
)
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
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
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
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
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
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
://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
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
47 matches
Mail list logo