You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by John Pfeifer <jo...@hnpsolutions.com> on 2007/08/11 01:02:38 UTC

Axis2 Spring Question

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 integration docs don't go into much detail here.  I guess what I am wondering is whether or not the aar files are available at the time the Spring ContextLoaderListener starts up.  If so, this should work.

Thanks,

John

Re: Axis2 Spring Question

Posted by robert lazarski <ro...@gmail.com>.
Try using the bean I showed you - that'll work inside or outside the aar.

Robert

On 8/12/07, John Pfeifer <jo...@hnpsolutions.com> wrote:
>
>
>
> Robert,
>
>  My original configuration was an aar file with all of it's libraries inside
> the lib directory of the aar file.  In addition, I was running spring within
> the aar file using a SpringInit class.  This worked very well, but now I
> need to package some servlets in the same war file as my axis2.war (which
> contains my aar).  These servlets need access to beans defined within the
> spring context which is inside the aar file.
>
>  Since the servlets are loaded by the webapp classloader and the axis2
> deployment classloader is a child of the webapp, it seems that my servlets
> won't have access to the classes (and subsequently the beans that are
> created) inside the aar file.  I tried this and it didn't work for the
> reasons mentioned above.  I then tried moving all librares from the aar file
> to the WEB-INF/lib directory which includes the spring.jar file.  This got
> me a little bit closer, but I still have the same issues.  My servlets still
> depend on classes that reside inside the aar and are unable to load them
> when the container starts up.  I am afraid that my only solution is to move
> these common classes into a different jar and put that in the WEB-INF/lib
> directory.  So in essence, I don't see a way for servlets to reference any
> classes that are loaded from within the aar file.
>
>  With that being said, I am open to suggestions.  Also, it's quite possible
> that I am doing something wrong.  Any help would be greatly appreciated.
>
>  Thanks,
>
>  John
>
>
>  -----Original Message-----
>  From: robert lazarski [mailto:robertlazarski@gmail.com]
>  Sent: Sat 8/11/2007 8:34 AM
>  To: axis-user@ws.apache.org
>  Subject: Re: Axis2 Spring Question
>
>  If I understand you correctly, you just need to get a hold of your
>  beans anytime, anywhere. If you are doing Spring inside the AAR, you
>  already defined 'bean id="applicationContext"' . If not, you can still
>  make use of it. At the web-app level , axis2 uses that bean to get its
>  spring beans to make a Service out of it. This all takes advantage of
>  the Spring's ApplicationContextAware interface. Its perfectly fine for
>  you to use the static method that Axis2's internals use also:
>
> http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/spring/src/org/apache/axis2/extensions/spring/receivers/SpringAppContextAwareObjectSupplier.java?view=markup
>
>  Here's some javadoc:
>
> http://ws.apache.org/axis2/1_2/api/org/apache/axis2/extensions/spring/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 <jo...@hnpsolutions.com> wrote:
>  >
>  >
>  >
>  >
>  > 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
> integration
>  > docs don't go into much detail here.  I guess what I am wondering is
> whether
>  > or not the aar files are available at the time the Spring
>  > ContextLoaderListener starts up.  If so, this should work.
>  >
>  >  Thanks,
>  >
>  >  John
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail:
> axis-user-unsubscribe@ws.apache.org
>  For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


RE: Axis2 Spring Question

Posted by John Pfeifer <jo...@hnpsolutions.com>.
Robert,

My original configuration was an aar file with all of it's libraries inside the lib directory of the aar file.  In addition, I was running spring within the aar file using a SpringInit class.  This worked very well, but now I need to package some servlets in the same war file as my axis2.war (which contains my aar).  These servlets need access to beans defined within the spring context which is inside the aar file.

Since the servlets are loaded by the webapp classloader and the axis2 deployment classloader is a child of the webapp, it seems that my servlets won't have access to the classes (and subsequently the beans that are created) inside the aar file.  I tried this and it didn't work for the reasons mentioned above.  I then tried moving all librares from the aar file to the WEB-INF/lib directory which includes the spring.jar file.  This got me a little bit closer, but I still have the same issues.  My servlets still depend on classes that reside inside the aar and are unable to load them when the container starts up.  I am afraid that my only solution is to move these common classes into a different jar and put that in the WEB-INF/lib directory.  So in essence, I don't see a way for servlets to reference any classes that are loaded from within the aar file.

With that being said, I am open to suggestions.  Also, it's quite possible that I am doing something wrong.  Any help would be greatly appreciated.

Thanks,

John


-----Original Message-----
From: robert lazarski [mailto:robertlazarski@gmail.com]
Sent: Sat 8/11/2007 8:34 AM
To: axis-user@ws.apache.org
Subject: Re: Axis2 Spring Question
 
If I understand you correctly, you just need to get a hold of your
beans anytime, anywhere. If you are doing Spring inside the AAR, you
already defined 'bean id="applicationContext"' . If not, you can still
make use of it. At the web-app level , axis2 uses that bean to get its
spring beans to make a Service out of it. This all takes advantage of
the Spring's ApplicationContextAware interface. Its perfectly fine for
you to use the static method that Axis2's internals use also:

http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/spring/src/org/apache/axis2/extensions/spring/receivers/SpringAppContextAwareObjectSupplier.java?view=markup

Here's some javadoc:

http://ws.apache.org/axis2/1_2/api/org/apache/axis2/extensions/spring/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 <jo...@hnpsolutions.com> wrote:
>
>
>
>
> 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 integration
> docs don't go into much detail here.  I guess what I am wondering is whether
> or not the aar files are available at the time the Spring
> ContextLoaderListener starts up.  If so, this should work.
>
>  Thanks,
>
>  John

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org



Re: Axis2 Spring Question

Posted by robert lazarski <ro...@gmail.com>.
If I understand you correctly, you just need to get a hold of your
beans anytime, anywhere. If you are doing Spring inside the AAR, you
already defined 'bean id="applicationContext"' . If not, you can still
make use of it. At the web-app level , axis2 uses that bean to get its
spring beans to make a Service out of it. This all takes advantage of
the Spring's ApplicationContextAware interface. Its perfectly fine for
you to use the static method that Axis2's internals use also:

http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/spring/src/org/apache/axis2/extensions/spring/receivers/SpringAppContextAwareObjectSupplier.java?view=markup

Here's some javadoc:

http://ws.apache.org/axis2/1_2/api/org/apache/axis2/extensions/spring/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 <jo...@hnpsolutions.com> wrote:
>
>
>
>
> 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 integration
> docs don't go into much detail here.  I guess what I am wondering is whether
> or not the aar files are available at the time the Spring
> ContextLoaderListener starts up.  If so, this should work.
>
>  Thanks,
>
>  John

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [AXIS2] specify playload without using omElement?

Posted by Amila Suriarachchi <am...@gmail.com>.
You can do this using Axis2 rmi. Axis2 rmi recently added module and it only
available at the nightly build. if you want it to use with Axis2 1.3 you
have to add the axis2-rmi-SNAPSHOT.jar to class path.

here is the way.
first crate tow java beans like this,you can see this in Axis2-rmi tests.

package org.apache.axis2.rmi.databind.dto;

public class Activate {

    private CancelWorkflowRequest CancelWorkflowRequest;

    public CancelWorkflowRequest getCancelWorkflowRequest() {
        return CancelWorkflowRequest;
    }

    public void setCancelWorkflowRequest(CancelWorkflowRequest
cancelWorkflowRequest) {
        CancelWorkflowRequest = cancelWorkflowRequest;
    }
}

package org.apache.axis2.rmi.databind.dto;


public class CancelWorkflowRequest {

    private int IWFID;
    private int Restart;

    public int getIWFID() {
        return IWFID;
    }

    public void setIWFID(int IWFID) {
        this.IWFID = IWFID;
    }

    public int getRestart() {
        return Restart;
    }

    public void setRestart(int restart) {
        Restart = restart;
    }
}

Then use this method to get om element.

public void testCreateActivateObject(){
        Activate activate = new Activate();
        CancelWorkflowRequest cancelWorkflowRequest = new
CancelWorkflowRequest();
        cancelWorkflowRequest.setIWFID(5);
        cancelWorkflowRequest.setRestart(10);

        activate.setCancelWorkflowRequest(cancelWorkflowRequest);

        Configurator configurator = new Configurator();

        configurator.addPackageToNamespaceMaping("
org.apache.axis2.rmi.databind.dto",
                "
http://phoenix.esb.infrastructure.biztalk.schemas.cancelworkflowrequest/");

        Parameter parameter = new Parameter(Activate.class, "Activate");
        parameter.setNamespace("http://phoenix.co.il/ESB/Infrastructure");

        try {
            OMElementCreator omElementCreator = new OMElementCreator();
            OMElement omElement = omElementCreator.getOMElement
(activate,parameter,configurator);
            System.out.println("OM Element ==> " + omElement.toString());
        } catch (OMElementCreationException e) {
            e.printStackTrace();  //To change body of catch statement use
File | Settings | File Templates.
        }
     }

Thanks,
Amila.

On 8/15/07, אלחנן מעיין <El...@phoenix.co.il> wrote:
>
>  Yes, I would like it to be as straightforward as possible using only java
> Beans and no code generation , if possible (if we have infrastructure based
> on xml for web services call description so we have to be flexlible).
>
>
>
>
>  ------------------------------
>
> *From:* Amila Suriarachchi [mailto:amilasuriarachchi@gmail.com]
> *Sent:* Wednesday, August 15, 2007 5:55 PM
> *To:* axis-user@ws.apache.org
> *Subject:* Re: [AXIS2] specify playload without using omElement?
>
>
>
>
>
> On 8/15/07, *אלחנן מעיין* <El...@phoenix.co.il> wrote:
>
> Hi.. is there way to specify this:
>
> <ns3:Activate xmlns:ns3="http://Phoenix.co.il/ESB/Infrastructure">
>
> <CancelWorkflowRequest xmlns="http://Phoenix.ESB.Infrastructure.BizTalk.Schemas.CancelWorkflowRequest
> ">
>
> <IWFID>2</IWFID>
>
> <Restart>0</Restart>
>
> </CancelWorkflowRequest>
>
> </ns3:Activate>
>
>
>
> Inside soapbody without using OMElement? (just java Beans?)
>
>
> Do you want to  create this reqeust from the client? and Do you want to
> put this part directly under the soap body?
> i.e <SoapBody>
>         <Activate>
>     </SoapBody>
>
>
>   ------------------------------
>
> *From:* Bhojraj, Santosh [mailto:Santosh_Bhojraj@ustrust.com]
> *Sent:* Wednesday, August 15, 2007 5:11 PM
> *To:* axis-user@ws.apache.org
> *Subject:* RE: Axis2: Speciying style in services.xml
>
>
>
> Thanx...but the link below is *not* for Axis2. Probably Axis 1.1..
>
>
>  ------------------------------
>
> *From:* Martin Gainty [mailto:mgainty@hotmail.com]
> *Sent:* Tuesday, August 14, 2007 4:57 PM
> *To:* axis-user@ws.apache.org
> *Subject:* Re: Axis2: Speciying style in services.xml
>
> a link to the style attribute explanation
>
>
> http://ws.apache.org/axis/java/user-guide.html#ServiceStylesRPCDocumentWrappedAndMessage
>
> Does this help?
> M--
>
> This email message and any files transmitted with it contain confidential
> information intended only for the person(s) to whom this email message is
> addressed.  If you have received this email message in error, please
> notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy.  Thank you.
>
>  ----- Original Message -----
>
> *From:* Bhojraj, Santosh <Sa...@ustrust.com>
>
> *To:* axis-user@ws.apache.org
>
> *Sent:* Tuesday, August 14, 2007 4:37 PM
>
> *Subject:* Axis2: Speciying style in services.xml
>
>
>
> Hi:
>
>   I am trying to create web services using Axis2 and would like to specify
> the style as "rpc" when the <<serivce>>.aar is generated. How do I do this ?
> The style gets set to "document" when I deploy the .aar file. I am able to
> do this when generating the WSDL by specifying the parameter in the ant
> build file.
>
>   Is there a link for the specification on this xml file ?
>
>
>
> Thanx!!
>
> Santosh
>
>
>
>
>
>
> --
> Amila Suriarachchi,
> WSO2 Inc.
>



-- 
Amila Suriarachchi,
WSO2 Inc.

RE: [AXIS2] specify playload without using omElement?

Posted by אלחנן מעיין <El...@Phoenix.co.il>.
Yes, I would like it to be as straightforward as possible using only java Beans and no code generation , if possible (if we have infrastructure based on xml for web services call description so we have to be flexlible).

 

 

________________________________

From: Amila Suriarachchi [mailto:amilasuriarachchi@gmail.com] 
Sent: Wednesday, August 15, 2007 5:55 PM
To: axis-user@ws.apache.org
Subject: Re: [AXIS2] specify playload without using omElement?

 

 

On 8/15/07, אלחנן מעיין <El...@phoenix.co.il> wrote:

Hi.. is there way to specify this:

<ns3:Activate xmlns:ns3="http://Phoenix.co.il/ESB/Infrastructure">

<CancelWorkflowRequest xmlns="http://Phoenix.ESB.Infrastructure.BizTalk.Schemas.CancelWorkflowRequest ">

<IWFID>2</IWFID>

<Restart>0</Restart>

</CancelWorkflowRequest>

</ns3:Activate>

 

Inside soapbody without using OMElement? (just java Beans?)


Do you want to  create this reqeust from the client? and Do you want to put this part directly under the soap body?
i.e <SoapBody>
        <Activate> 
    </SoapBody>

	 

	
________________________________


	From: Bhojraj, Santosh [mailto:Santosh_Bhojraj@ustrust.com] 
	Sent: Wednesday, August 15, 2007 5:11 PM
	To: axis-user@ws.apache.org
	Subject: RE: Axis2: Speciying style in services.xml

	 

	Thanx...but the link below is not for Axis2. Probably Axis 1.1..

	 

	
________________________________


	From: Martin Gainty [mailto:mgainty@hotmail.com] 
	Sent: Tuesday, August 14, 2007 4:57 PM
	To: axis-user@ws.apache.org
	Subject: Re: Axis2: Speciying style in services.xml

	a link to the style attribute explanation

	http://ws.apache.org/axis/java/user-guide.html#ServiceStylesRPCDocumentWrappedAndMessage

	Does this help?
	M--

	This email message and any files transmitted with it contain confidential
	information intended only for the person(s) to whom this email message is
	addressed.  If you have received this email message in error, please notify
	the sender immediately by telephone or email and destroy the original
	message without making a copy.  Thank you.

		----- Original Message ----- 

		From: Bhojraj, Santosh <ma...@ustrust.com>  

		To: axis-user@ws.apache.org 

		Sent: Tuesday, August 14, 2007 4:37 PM

		Subject: Axis2: Speciying style in services.xml

		 

		Hi:

		  I am trying to create web services using Axis2 and would like to specify the style as "rpc" when the <<serivce>>.aar is generated. How do I do this ? The style gets set to "document" when I deploy the .aar file. I am able to do this when generating the WSDL by specifying the parameter in the ant build file.

		  Is there a link for the specification on this xml file ? 

		 

		Thanx!!

		Santosh

		 




-- 
Amila Suriarachchi,
WSO2 Inc. 


Re: [AXIS2] specify playload without using omElement?

Posted by Amila Suriarachchi <am...@gmail.com>.
On 8/15/07, אלחנן מעיין <El...@phoenix.co.il> wrote:
>
>  Hi.. is there way to specify this:
>
> <ns3:Activate xmlns:ns3="http://Phoenix.co.il/ESB/Infrastructure">
>
> <CancelWorkflowRequest xmlns="
> http://Phoenix.ESB.Infrastructure.BizTalk.Schemas.CancelWorkflowRequest">
>
> <IWFID>2</IWFID>
>
> <Restart>0</Restart>
>
> </CancelWorkflowRequest>
>
> </ns3:Activate>
>
>
>
> Inside soapbody without using OMElement? (just java Beans?)
>

Do you want to  create this reqeust from the client? and Do you want to put
this part directly under the soap body?
i.e <SoapBody>
        <Activate>
    </SoapBody>

------------------------------
>
> *From:* Bhojraj, Santosh [mailto:Santosh_Bhojraj@ustrust.com]
> *Sent:* Wednesday, August 15, 2007 5:11 PM
> *To:* axis-user@ws.apache.org
> *Subject:* RE: Axis2: Speciying style in services.xml
>
>
>
> Thanx...but the link below is *not* for Axis2. Probably Axis 1.1..
>
>
>  ------------------------------
>
> *From:* Martin Gainty [mailto:mgainty@hotmail.com]
> *Sent:* Tuesday, August 14, 2007 4:57 PM
> *To:* axis-user@ws.apache.org
> *Subject:* Re: Axis2: Speciying style in services.xml
>
> a link to the style attribute explanation
>
>
> http://ws.apache.org/axis/java/user-guide.html#ServiceStylesRPCDocumentWrappedAndMessage
>
> Does this help?
> M--
>
> This email message and any files transmitted with it contain confidential
> information intended only for the person(s) to whom this email message is
> addressed.  If you have received this email message in error, please
> notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy.  Thank you.
>
>  ----- Original Message -----
>
> *From:* Bhojraj, Santosh <Sa...@ustrust.com>
>
> *To:* axis-user@ws.apache.org
>
> *Sent:* Tuesday, August 14, 2007 4:37 PM
>
> *Subject:* Axis2: Speciying style in services.xml
>
>
>
> Hi:
>
>   I am trying to create web services using Axis2 and would like to specify
> the style as "rpc" when the <<serivce>>.aar is generated. How do I do this ?
> The style gets set to "document" when I deploy the .aar file. I am able to
> do this when generating the WSDL by specifying the parameter in the ant
> build file.
>
>   Is there a link for the specification on this xml file ?
>
>
>
> Thanx!!
>
> Santosh
>
>
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.

solving the browser doens't send unchecked values in request

Posted by אלחנן מעיין <El...@Phoenix.co.il>.
 

hi...

 

we have a homegrown framework in which we just discovered a bug, that when the browser doens't send uncheckd fields on the request, our boolean values on our session scoped object do not get updated.

 

i know about the reset solution of struts, i was wondering if anyone else had other solution to this problem 

 

(i was suggested to generate automatic java script code which creates a hidden field for each checkbox, and updates it when the checkbox is cleared).

 


[AXIS2] specify playload without using omElement?

Posted by אלחנן מעיין <El...@Phoenix.co.il>.
Hi.. is there way to specify this:

<ns3:Activate xmlns:ns3="http://Phoenix.co.il/ESB/Infrastructure">

<CancelWorkflowRequest xmlns="http://Phoenix.ESB.Infrastructure.BizTalk.Schemas.CancelWorkflowRequest">

<IWFID>2</IWFID>

<Restart>0</Restart>

</CancelWorkflowRequest>

</ns3:Activate>

 

Inside soapbody without using OMElement? (just java Beans?)

 

 

________________________________

From: Bhojraj, Santosh [mailto:Santosh_Bhojraj@ustrust.com] 
Sent: Wednesday, August 15, 2007 5:11 PM
To: axis-user@ws.apache.org
Subject: RE: Axis2: Speciying style in services.xml

 

Thanx...but the link below is not for Axis2. Probably Axis 1.1..

 

________________________________

From: Martin Gainty [mailto:mgainty@hotmail.com] 
Sent: Tuesday, August 14, 2007 4:57 PM
To: axis-user@ws.apache.org
Subject: Re: Axis2: Speciying style in services.xml

a link to the style attribute explanation

http://ws.apache.org/axis/java/user-guide.html#ServiceStylesRPCDocumentWrappedAndMessage

Does this help?
M--

This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

	----- Original Message ----- 

	From: Bhojraj, Santosh <ma...@ustrust.com>  

	To: axis-user@ws.apache.org 

	Sent: Tuesday, August 14, 2007 4:37 PM

	Subject: Axis2: Speciying style in services.xml

	 

	Hi:

	  I am trying to create web services using Axis2 and would like to specify the style as "rpc" when the <<serivce>>.aar is generated. How do I do this ? The style gets set to "document" when I deploy the .aar file. I am able to do this when generating the WSDL by specifying the parameter in the ant build file.

	  Is there a link for the specification on this xml file ? 

	 

	Thanx!!

	Santosh

	 


RE: Axis2: Speciying style in services.xml

Posted by "Bhojraj, Santosh" <Sa...@ustrust.com>.
Thanx...but the link below is not for Axis2. Probably Axis 1.1..

________________________________

From: Martin Gainty [mailto:mgainty@hotmail.com] 
Sent: Tuesday, August 14, 2007 4:57 PM
To: axis-user@ws.apache.org
Subject: Re: Axis2: Speciying style in services.xml


a link to the style attribute explanation
http://ws.apache.org/axis/java/user-guide.html#ServiceStylesRPCDocumentW
rappedAndMessage

Does this help?
M--
This email message and any files transmitted with it contain
confidential
information intended only for the person(s) to whom this email message
is
addressed.  If you have received this email message in error, please
notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.


	----- Original Message ----- 
	From: Bhojraj, Santosh <ma...@ustrust.com>  
	To: axis-user@ws.apache.org 
	Sent: Tuesday, August 14, 2007 4:37 PM
	Subject: Axis2: Speciying style in services.xml

	Hi:
	  I am trying to create web services using Axis2 and would like
to specify the style as "rpc" when the <<serivce>>.aar is generated. How
do I do this ? The style gets set to "document" when I deploy the .aar
file. I am able to do this when generating the WSDL by specifying the
parameter in the ant build file.
	  Is there a link for the specification on this xml file ? 
	 
	Thanx!!
	Santosh
	 


Re: Axis2: Speciying style in services.xml

Posted by Martin Gainty <mg...@hotmail.com>.
Axis2 Spring Questiona link to the style attribute explanation
http://ws.apache.org/axis/java/user-guide.html#ServiceStylesRPCDocumentWrappedAndMessage

Does this help?
M--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

  ----- Original Message ----- 
  From: Bhojraj, Santosh 
  To: axis-user@ws.apache.org 
  Sent: Tuesday, August 14, 2007 4:37 PM
  Subject: Axis2: Speciying style in services.xml


  Hi:
    I am trying to create web services using Axis2 and would like to specify the style as "rpc" when the <<serivce>>.aar is generated. How do I do this ? The style gets set to "document" when I deploy the .aar file. I am able to do this when generating the WSDL by specifying the parameter in the ant build file.
    Is there a link for the specification on this xml file ? 

  Thanx!!
  Santosh

Axis2: Speciying style in services.xml

Posted by "Bhojraj, Santosh" <Sa...@ustrust.com>.
Hi:
  I am trying to create web services using Axis2 and would like to
specify the style as "rpc" when the <<serivce>>.aar is generated. How do
I do this ? The style gets set to "document" when I deploy the .aar
file. I am able to do this when generating the WSDL by specifying the
parameter in the ant build file.
  Is there a link for the specification on this xml file ? 
 
Thanx!!
Santosh