Re: Wsdl2java ant task many namespaceToPackages

2006-12-26 Thread Mehar SVLN

try this out
namespaceToPackages="http://webservices.swa.src/xsd/=swa.webservices.xsd
,
http://persistence.swa.src/xsd/=swa.persistence.xsd=swa.persistence.xsd
"

this works for me fine

Rgds
Mehar
On 12/26/06, Thomas Bruckmayer <[EMAIL PROTECTED]> wrote:


Hi all!

Sorry for the question but i have to map more than one Namespace to a
package, for example:
namespaceToPackages="http://webservices.swa.src/xsd=swa.webservices.xsd,
http://persistence.swa.src/xsd=swa.persistence.xsd=swa.persistence.xsd";

But the above notation does not work, can pls somebody tell me how i add
aditional namespaceToPackages?

regards


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Rgds
Mehar


Re: wsdl and namespaces

2006-12-14 Thread Mehar SVLN

Hai if u give some more details then may be i will try to explain

On 12/15/06, Rolf Schorpion <[EMAIL PROTECTED]> wrote:


Hi,

i made a webservice in SAP. The WSDL is using namespaces. Can somehow
explain me ( in simple terms ) how to create a proxy ( using Axis )
based on this wsdl with namespaces ?

Thanks !

Rolf S.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Rgds
Mehar


Re: [AXIS2.1.1] Generate an Interface for the skeleton

2006-12-05 Thread Mehar SVLN

I think if you dont want to change the sevices.xml you can directly go and
change ur ServiceSkeleton.java class
I dont think there is any other option.. Hope it helps

On 12/5/06, Shaoguang Cong <[EMAIL PROTECTED]> wrote:


Ajith,

I've read your article on Contract-First Web Services with Apache 
Axis2.


My question is how to connect to my service implementation class that
implements the generated interface (generated using WSDL2Java -ssi
option).   Do I have to modify the generated services.xml to change the
"serviceClass" to my own implementation class?

Is there a way to avoid changing services.xml for this?  If not,
can WSDL2Java be enhanced so -ssi can take a user-specified impl class name
as a parameter?

Thanks.
Shoaguang

--
Access over 1 million songs - Yahoo! Music 
Unlimited.





--
Rgds
Mehar


where should i put my jar files in the .aar file???

2006-11-29 Thread Mehar SVLN

Hai all,

where should i put my jar files in the .aar file???

Thanks in advance
--
Rgds
Mehar


Re: Did Anyone tried Axis2 attachments with XMlBeans as databinding???

2006-11-28 Thread Mehar SVLN

Robert thanx a lot for the invitation
I will try my level to implement this feature

Any inputs on where to start???

On 11/28/06, robert lazarski <[EMAIL PROTECTED]> wrote:


There is a jira for this:

http://issues.apache.org/jira/browse/AXIS2-1031

Your welcome to try and help us implement it ... the adb / mtom code would
be a good start.

Robert

On 11/28/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
>
> No i dint try...
> Actually my entire appln is based on XMLBeans so i need to check with
> XMLBeans
>
> The problem what i ve observerd
> wherever i have an element of type xsd:base64Binary it should be sent as
> an attachment(MTOM is enabled)
>
> But this is not happening in XMLBeans case, its being sent as a part of
> the soap:body
>
> I saw the envelope in the tcpmon
>
> Are u aware of this problem???
>
> On 11/28/06, Philipp Perner < [EMAIL PROTECTED]> wrote:
> >
> > No, because I'm just trying to do it with adb - and it's harder than i
> > thought
> > Are there any significant reasons why to use xmlbeans?
> > Did you try SwA with other bindings than xmlbeans?
> >
> > kr
> >
> > Mehar SVLN schrieb:
> > > Did Anyone tried Axis2 attachments with XMlBeans as databinding???
> > >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Rgds
> Mehar






--
Rgds
Mehar


Re: Did Anyone tried Axis2 attachments with XMlBeans as databinding???

2006-11-28 Thread Mehar SVLN

No i dint try...
Actually my entire appln is based on XMLBeans so i need to check with
XMLBeans

The problem what i ve observerd
wherever i have an element of type xsd:base64Binary it should be sent as an
attachment(MTOM is enabled)

But this is not happening in XMLBeans case, its being sent as a part of the
soap:body

I saw the envelope in the tcpmon

Are u aware of this problem???

On 11/28/06, Philipp Perner <[EMAIL PROTECTED]> wrote:


No, because I'm just trying to do it with adb - and it's harder than i
thought
Are there any significant reasons why to use xmlbeans?
Did you try SwA with other bindings than xmlbeans?

kr

Mehar SVLN schrieb:
> Did Anyone tried Axis2 attachments with XMlBeans as databinding???
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Rgds
Mehar


Did Anyone tried Axis2 attachments with XMlBeans as databinding???

2006-11-28 Thread Mehar SVLN

Did Anyone tried Axis2 attachments with XMlBeans as databinding???

--
Rgds
Mehar


Re: [Axis2.1.1] attachments not working --- Added the wsdl fragments

2006-11-24 Thread Mehar SVLN

Can anyone let me know how the xsd:base64Binary elements will be converted
to attachments???

I have some urgent work on this. Can anyone help me ???

On 11/24/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:


Hai Thilina,
I hope u can help me on this
I have added my wsdl fragments here

 




  

  

  

  





















http://schemas.xmlsoap.org/soap/http"; />
   

 

  
  
  
 
 
   
   
  


On 11/24/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
>
> soap over http
>
> Here the binding info
> style="document"
> transport=" http://schemas.xmlsoap.org/soap/http";
>
> i am using document/literal wrapped style
>
> Thanks
>
> On 11/23/06, Thilina Gunarathne < [EMAIL PROTECTED]> wrote:
> >
> > What is the data binding mechanism you are using..
> >
> > ~Thilina
> >
> > On 11/23/06, Mehar SVLN <[EMAIL PROTECTED] > wrote:
> > > Hai all,
> > >
> > > I have a wsdl with document/literal wrapped style
> > >
> > > In one of the operations i have an attachment. as
> > xsd:base64Binary
> > >
> > > Axis does not recognise it as a attachment.. and its going as a part
> > of the
> > > body
> > >
> > > Whatever replaced with  are coming properly
> > >
> > > i dont think i can disclose them
> > >
> > >
> > > POST /axis2/services/SCIConfigService HTTP/1.1
> > > SOAPAction: * soap action is correct
> > > User-Agent: Axis2
> > > Host: 127.0.0.1:9090
> > > Transfer-Encoding: chunked
> > > Content-Type: multipart/related;
> > > boundary=MIMEBoundaryurn_uuid_F86864D8777AF2CC8C11642771022021;
> > > type="application/xop+xml"; start="<
> > > 0.urn:uuid:[EMAIL PROTECTED]>";
> > > start-info="text/xml"; charset=UTF-8
> > >
> > > 20e8
> > > --MIMEBoundaryurn_uuid_F86864D8777AF2CC8C11642771022021
> > > content-type: application/xop+xml; charset=UTF-8; type="text/xml";
> > > content-transfer-encoding: binary
> > > content-id:
> > > < 0.urn:uuid:[EMAIL PROTECTED]>
> > >
> > >  > > xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/
> > "> > >
> > 
xmlns="**">myBundleName >
> > > xmlns:axis2ns1=" http://www.w3.org/2005/05/xmlmime";
> > >
> > 
axis2ns1:contentType="application/zip">AAA

Re: [Axis2.1.1] attachments not working --- Any help on this

2006-11-24 Thread Mehar SVLN

I am using xmlbeans for databinding

On 11/24/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:


Are you using ADB or XMLBeans or JiBX or ...  for data binding...

~Thilina

On 11/24/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
> Hai,
>
> In my wsdl types i have a xsd:base64Binary element.. This one is not
being
> sent as an attachment after enabling the MTOM also in the client
>
> Can anyone tell me where this element will be converted to
Attachment..
>
> So that may be i can debug Axis code
> Thanks for ur help
>
> On 11/24/06, Mehar SVLN <[EMAIL PROTECTED] > wrote:
> > soap over http
> >
> > Here the binding info
> > style="document"
> >
> transport="http://schemas.xmlsoap.org/soap/http";
> >
> > i am using document/literal wrapped style
> >
> > Thanks
> >
> >
> >
> > On 11/23/06, Thilina Gunarathne < [EMAIL PROTECTED]> wrote:
> > > What is the data binding mechanism you are using..
> > >
> > > ~Thilina
> > >
> > > On 11/23/06, Mehar SVLN <[EMAIL PROTECTED] > wrote:
> > > > Hai all,
> > > >
> > > > I have a wsdl with document/literal wrapped style
> > > >
> > > > In one of the operations i have an attachment. as
xsd:base64Binary
> > > >
> > > > Axis does not recognise it as a attachment.. and its going as a
part
> of the
> > > > body
> > > >
> > > > Whatever replaced with  are coming
properly
> > > >
> > > > i dont think i can disclose them
> > > >
> > > >
> > > > POST /axis2/services/SCIConfigService HTTP/1.1
> > > > SOAPAction: * soap action is correct
> > > > User-Agent: Axis2
> > > > Host: 127.0.0.1:9090
> > > > Transfer-Encoding: chunked
> > > > Content-Type: multipart/related;
> > > >
> boundary=MIMEBoundaryurn_uuid_F86864D8777AF2CC8C11642771022021;
> > > > type="application/xop+xml"; start="<
> > > >
> 0.urn:uuid:[EMAIL PROTECTED]>";
> > > > start-info="text/xml"; charset=UTF-8
> > > >
> > > > 20e8
> > > >
> --MIMEBoundaryurn_uuid_F86864D8777AF2CC8C11642771022021
> > > > content-type: application/xop+xml; charset=UTF-8; type="text/xml";
> > > > content-transfer-encoding: binary
> > > > content-id:
> > > > <
> 0.urn:uuid:[EMAIL PROTECTED]>
> > > >
> > > >  encoding='UTF-8'?> > > > xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/";> > > >
>
xmlns="**">myBundleName > > > xmlns:axis2ns1=" http://www.w3.org/2005/05/xmlmime";
> > > >
>
axis2ns1:contentType="application/zip">

Re: [Axis2.1.1] attachments not working --- Added the wsdl fragments

2006-11-24 Thread Mehar SVLN

Hai Thilina,
I hope u can help me on this
I have added my wsdl fragments here


   
   
   
   
 
   
 
   
 
   
 
   
   

   

   
   
   
   
   

   
   
   

   
   
   



   http://schemas.xmlsoap.org/soap/http"; />
  
   

   
 
 
 


  
  
 


On 11/24/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:


soap over http

Here the binding info
style="document"
transport="http://schemas.xmlsoap.org/soap/http";

i am using document/literal wrapped style

Thanks

On 11/23/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:
>
> What is the data binding mechanism you are using..
>
> ~Thilina
>
> On 11/23/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
> > Hai all,
> >
> > I have a wsdl with document/literal wrapped style
> >
> > In one of the operations i have an attachment. as xsd:base64Binary
> >
> > Axis does not recognise it as a attachment.. and its going as a part
> of the
> > body
> >
> > Whatever replaced with  are coming properly
> >
> > i dont think i can disclose them
> >
> >
> > POST /axis2/services/SCIConfigService HTTP/1.1
> > SOAPAction: * soap action is correct
> > User-Agent: Axis2
> > Host: 127.0.0.1:9090
> > Transfer-Encoding: chunked
> > Content-Type: multipart/related;
> > boundary=MIMEBoundaryurn_uuid_F86864D8777AF2CC8C11642771022021;
> > type="application/xop+xml"; start="<
> > 0.urn:uuid:[EMAIL PROTECTED]>";
> > start-info="text/xml"; charset=UTF-8
> >
> > 20e8
> > --MIMEBoundaryurn_uuid_F86864D8777AF2CC8C11642771022021
> > content-type: application/xop+xml; charset=UTF-8; type="text/xml";
> > content-transfer-encoding: binary
> > content-id:
> > < 0.urn:uuid:[EMAIL PROTECTED]>
> >
> >  > xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/
> "> >
> 
xmlns="**">myBundleName
> > xmlns:axis2ns1=" http://www.w3.org/2005/05/xmlmime";
> >
> 
axis2ns1:contentType="application/zip">A

Re: [Axis2.1.1] attachments not working --- Any help on this

2006-11-23 Thread Mehar SVLN

Hai,

In my wsdl types i have a xsd:base64Binary element.. This one is not being
sent as an attachment after enabling the MTOM also in the client

Can anyone tell me where this element will be converted to Attachment..

So that may be i can debug Axis code
Thanks for ur help

On 11/24/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:


soap over http

Here the binding info
style="document"
transport="http://schemas.xmlsoap.org/soap/http";

i am using document/literal wrapped style

Thanks

On 11/23/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:
>
> What is the data binding mechanism you are using..
>
> ~Thilina
>
> On 11/23/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
> > Hai all,
> >
> > I have a wsdl with document/literal wrapped style
> >
> > In one of the operations i have an attachment. as xsd:base64Binary
> >
> > Axis does not recognise it as a attachment.. and its going as a part
> of the
> > body
> >
> > Whatever replaced with  are coming properly
> >
> > i dont think i can disclose them
> >
> >
> > POST /axis2/services/SCIConfigService HTTP/1.1
> > SOAPAction: * soap action is correct
> > User-Agent: Axis2
> > Host: 127.0.0.1:9090
> > Transfer-Encoding: chunked
> > Content-Type: multipart/related;
> > boundary=MIMEBoundaryurn_uuid_F86864D8777AF2CC8C11642771022021;
> > type="application/xop+xml"; start="<
> > 0.urn:uuid:[EMAIL PROTECTED]>";
> > start-info="text/xml"; charset=UTF-8
> >
> > 20e8
> > --MIMEBoundaryurn_uuid_F86864D8777AF2CC8C11642771022021
> > content-type: application/xop+xml; charset=UTF-8; type="text/xml";
> > content-transfer-encoding: binary
> > content-id:
> > < 0.urn:uuid:[EMAIL PROTECTED]>
> >
> >  > xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/
> "> >
> 
xmlns="**">myBundleName
> > xmlns:axis2ns1=" http://www.w3.org/2005/05/xmlmime";
> >
> 
axis2ns1:contentType="application/zip">

Re: [Axis2.1.1] attachments not working

2006-11-23 Thread Mehar SVLN

soap over http

Here the binding info
style="document"
   transport="http://schemas.xmlsoap.org/soap/http";

i am using document/literal wrapped style

Thanks

On 11/23/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:


What is the data binding mechanism you are using..

~Thilina

On 11/23/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
> Hai all,
>
> I have a wsdl with document/literal wrapped style
>
> In one of the operations i have an attachment. as xsd:base64Binary
>
> Axis does not recognise it as a attachment.. and its going as a part of
the
> body
>
> Whatever replaced with  are coming properly
>
> i dont think i can disclose them
>
>
> POST /axis2/services/SCIConfigService HTTP/1.1
> SOAPAction: * soap action is correct
> User-Agent: Axis2
> Host: 127.0.0.1:9090
> Transfer-Encoding: chunked
> Content-Type: multipart/related;
> boundary=MIMEBoundaryurn_uuid_F86864D8777AF2CC8C11642771022021;
> type="application/xop+xml"; start="<
> 0.urn:uuid:[EMAIL PROTECTED]>";
> start-info="text/xml"; charset=UTF-8
>
> 20e8
> --MIMEBoundaryurn_uuid_F86864D8777AF2CC8C11642771022021
> content-type: application/xop+xml; charset=UTF-8; type="text/xml";
> content-transfer-encoding: binary
> content-id:
> <0.urn:uuid:[EMAIL PROTECTED]>
>
>  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
">
xmlns="**">myBundleName xmlns:axis2ns1=" http://www.w3.org/2005/05/xmlmime";
>
axis2ns1:contentType="application/zip">

Re: Axis2.1.1 wsdl2java

2006-11-23 Thread Mehar SVLN

Sorry i am new to this...
Plz let me know how to file a jira??

On 11/23/06, keith chapman <[EMAIL PROTECTED]> wrote:


You could file a Jira specifying it as a new feature

On 11/23/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
>
> Is this can be an enahancement in wsdl2java???
>
> On 11/23/06, keith chapman <[EMAIL PROTECTED] > wrote:
> >
> > Sorry you dont have a option to do that.
> >
> > Thanks,
> > Keith
> >
> > On 11/23/06, Mehar SVLN < [EMAIL PROTECTED] > wrote:
> > >
> > > Sorry i need different package names to stubs and skeletons
> > >
> > > like
> > > com.mycom.xxx.stbs
> > > com.mycom.xxx.server.skeletons
> > >
> > > On 11/23/06, keith chapman <[EMAIL PROTECTED] > wrote:
> > > >
> > > > Are u refereing to the fact that u need different namespace to
> > > > packagename mapping for the server side and client side?
> > > >
> > > >
> > > > You can use the option "-ns2p ns1=pkg1,ns2=pkg2" together with the
> > > > above options. But this would mean that it would be the same for both 
server
> > > > side and client side.
> > > >
> > > > Thanks,
> > > > Keith.
> > > >
> > > > On 11/23/06, Mehar SVLN < [EMAIL PROTECTED] > wrote:
> > > > >
> > > > > Hai Keith,
> > > > > Thanks for the reply
> > > > > I want to specify different namespaces for client side and
> > > > > server side how do i do that??
> > > > >
> > > > >
> > > > > On 11/23/06, keith chapman <[EMAIL PROTECTED] > wrote:
> > > > > >
> > > > > > If u use the options "-ss -sd -g" all together it will
> > > > > > generate both server side and client side in one go.
> > > > > >
> > > > > > Thanks,
> > > > > > Keith.
> > > > > >
> > > > > > On 11/22/06, Mehar SVLN <[EMAIL PROTECTED] > wrote:
> > > > > > >
> > > > > > > Hai,
> > > > > > >
> > > > > > > Can anyone gimme some tips on this
> > > > > > >
> > > > > > > On 11/21/06, Mehar SVLN < [EMAIL PROTECTED] > wrote:
> > > > > > > >
> > > > > > > > Hai All,
> > > > > > > >
> > > > > > > > I have a wsdl i am generating stubs/skeletons seperately
> > > > > > > > from it...
> > > > > > > >
> > > > > > > > First i do a stub generation it will compile all my xsds,
> > > > > > > > which will result in some xmlbean classes
> > > > > > > >
> > > > > > > > Can i stop wsdl2java to stop compiling xsds again for the
> > > > > > > > skeleton generation( Essentially it can use the same xmlbean 
classes
> > > > > > > > generated in the previous stub generation)
> > > > > > > >
> > > > > > > > Can i achieve that using wsdl2java
> > > > > > > >
> > > > > > > > --
> > > > > > > > Rgds
> > > > > > > > Mehar
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Rgds
> > > > > > > Mehar
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Rgds
> > > > > Mehar
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Rgds
> > > Mehar
> >
> >
> >
>
>
> --
> Rgds
> Mehar






--
Rgds
Mehar


[Axis2.1.1] attachments not working

2006-11-23 Thread Mehar SVLN

Hai all,

I have a wsdl with document/literal wrapped style

In one of the operations i have an attachment. as xsd:base64Binary

Axis does not recognise it as a attachment.. and its going as a part of the
body

Whatever replaced with  are coming properly

i dont think i can disclose them


POST /axis2/services/SCIConfigService HTTP/1.1
SOAPAction: * soap action is correct
User-Agent: Axis2
Host: 127.0.0.1:9090
Transfer-Encoding: chunked
Content-Type: multipart/related;
boundary=MIMEBoundaryurn_uuid_F86864D8777AF2CC8C11642771022021;
type="application/xop+xml"; start="<
0.urn:uuid:[EMAIL PROTECTED]>";
start-info="text/xml"; charset=UTF-8

20e8
--MIMEBoundaryurn_uuid_F86864D8777AF2CC8C11642771022021
content-type: application/xop+xml; charset=UTF-8; type="text/xml";
content-transfer-encoding: binary
content-id: <0.urn:uuid:[EMAIL PROTECTED]>

http://schemas.xmlsoap.org/soap/envelope/";>myBundleNamehttp://www.w3.org/2005/05/xmlmime";
axis2ns1:contentType="application/zip">

Re: Axis2.1.1 wsdl2java

2006-11-23 Thread Mehar SVLN

Is this can be an enahancement in wsdl2java???

On 11/23/06, keith chapman <[EMAIL PROTECTED]> wrote:


Sorry you dont have a option to do that.

Thanks,
Keith

On 11/23/06, Mehar SVLN <[EMAIL PROTECTED] > wrote:
>
> Sorry i need different package names to stubs and skeletons
>
> like
> com.mycom.xxx.stbs
> com.mycom.xxx.server.skeletons
>
> On 11/23/06, keith chapman <[EMAIL PROTECTED]> wrote:
> >
> > Are u refereing to the fact that u need different namespace to
> > packagename mapping for the server side and client side?
> >
> >
> > You can use the option "-ns2p ns1=pkg1,ns2=pkg2" together with the
> > above options. But this would mean that it would be the same for both server
> > side and client side.
> >
> > Thanks,
> > Keith.
> >
> > On 11/23/06, Mehar SVLN < [EMAIL PROTECTED]> wrote:
> > >
> > > Hai Keith,
> > > Thanks for the reply
> > > I want to specify different namespaces for client side and server
> > > side how do i do that??
> > >
> > >
> > > On 11/23/06, keith chapman <[EMAIL PROTECTED]> wrote:
> > > >
> > > > If u use the options "-ss -sd -g" all together it will generate
> > > > both server side and client side in one go.
> > > >
> > > > Thanks,
> > > > Keith.
> > > >
> > > > On 11/22/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hai,
> > > > >
> > > > > Can anyone gimme some tips on this
> > > > >
> > > > > On 11/21/06, Mehar SVLN < [EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Hai All,
> > > > > >
> > > > > > I have a wsdl i am generating stubs/skeletons seperately from
> > > > > > it...
> > > > > >
> > > > > > First i do a stub generation it will compile all my xsds,
> > > > > > which will result in some xmlbean classes
> > > > > >
> > > > > > Can i stop wsdl2java to stop compiling xsds again for the
> > > > > > skeleton generation( Essentially it can use the same xmlbean classes
> > > > > > generated in the previous stub generation)
> > > > > >
> > > > > > Can i achieve that using wsdl2java
> > > > > >
> > > > > > --
> > > > > > Rgds
> > > > > > Mehar
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Rgds
> > > > > Mehar
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Rgds
> > > Mehar
> >
> >
> >
>
>
> --
> Rgds
> Mehar






--
Rgds
Mehar


Re: Axis2.1.1 wsdl2java

2006-11-23 Thread Mehar SVLN

Sorry i need different package names to stubs and skeletons

like
com.mycom.xxx.stbs
com.mycom.xxx.server.skeletons

On 11/23/06, keith chapman <[EMAIL PROTECTED]> wrote:


Are u refereing to the fact that u need different namespace to packagename
mapping for the server side and client side?


You can use the option "-ns2p ns1=pkg1,ns2=pkg2" together with the above
options. But this would mean that it would be the same for both server side
and client side.

Thanks,
Keith.

On 11/23/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
>
> Hai Keith,
> Thanks for the reply
> I want to specify different namespaces for client side and server side
> how do i do that??
>
>
> On 11/23/06, keith chapman <[EMAIL PROTECTED]> wrote:
> >
> > If u use the options "-ss -sd -g" all together it will generate both
> > server side and client side in one go.
> >
> > Thanks,
> > Keith.
> >
> > On 11/22/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
> > >
> > > Hai,
> > >
> > > Can anyone gimme some tips on this
> > >
> > > On 11/21/06, Mehar SVLN < [EMAIL PROTECTED]> wrote:
> > > >
> > > > Hai All,
> > > >
> > > > I have a wsdl i am generating stubs/skeletons seperately from
> > > > it...
> > > >
> > > > First i do a stub generation it will compile all my xsds, which
> > > > will result in some xmlbean classes
> > > >
> > > > Can i stop wsdl2java to stop compiling xsds again for the skeleton
> > > > generation( Essentially it can use the same xmlbean classes generated 
in the
> > > > previous stub generation)
> > > >
> > > > Can i achieve that using wsdl2java
> > > >
> > > > --
> > > > Rgds
> > > > Mehar
> > >
> > >
> > >
> > >
> > > --
> > > Rgds
> > > Mehar
> >
> >
> >
>
>
> --
> Rgds
> Mehar






--
Rgds
Mehar


Re: Axis2.1.1 wsdl2java

2006-11-22 Thread Mehar SVLN

Hai Keith,
Thanks for the reply
I want to specify different namespaces for client side and server side how
do i do that??


On 11/23/06, keith chapman <[EMAIL PROTECTED]> wrote:


If u use the options "-ss -sd -g" all together it will generate both
server side and client side in one go.

Thanks,
Keith.

On 11/22/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
>
> Hai,
>
> Can anyone gimme some tips on this
>
> On 11/21/06, Mehar SVLN < [EMAIL PROTECTED]> wrote:
> >
> > Hai All,
> >
> > I have a wsdl i am generating stubs/skeletons seperately from it...
> >
> > First i do a stub generation it will compile all my xsds, which will
> > result in some xmlbean classes
> >
> > Can i stop wsdl2java to stop compiling xsds again for the skeleton
> > generation( Essentially it can use the same xmlbean classes generated in the
> > previous stub generation)
> >
> > Can i achieve that using wsdl2java
> >
> > --
> > Rgds
> > Mehar
>
>
>
>
> --
> Rgds
> Mehar






--
Rgds
Mehar


Re: Axis2.1.1 wsdl2java

2006-11-21 Thread Mehar SVLN

Hai,

Can anyone gimme some tips on this

On 11/21/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:


Hai All,

I have a wsdl i am generating stubs/skeletons seperately from it...

First i do a stub generation it will compile all my xsds, which will
result in some xmlbean classes

Can i stop wsdl2java to stop compiling xsds again for the skeleton
generation( Essentially it can use the same xmlbean classes generated in the
previous stub generation)

Can i achieve that using wsdl2java

--
Rgds
Mehar





--
Rgds
Mehar


Re: Axis2.1.1 question

2006-11-21 Thread Mehar SVLN

Thanks for the reply Thilina,

But in my case i have similiar things to do with the headers in all the
operations...

If i put my logic into the MessageReceiverInOut.. i can just do it once
otherwise i have to do the same thing for each operation in the skeleton...

Any suggestions will be greatly appreciated



On 11/21/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:


AFAIK the generated MessageReceiver is not meant to be altered by the
user.
U can use the MessageContext.getCurrentContext() inside your skeleton
to access the MessageContext . You can get the SOAPEnvelope from the
MessageContext.

Thanks,
~Thilina

On 11/21/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
> Hai,
>
> I have a question about MessageReceiverInOut...
>
> I have a wsdl, where i ve generated the server side skeleton
>
> I can see MyServiceMessageReceiverInOut, MyServiceSkeleton as important
> claases...
>
> I need acccess to SoapEnvelope typically. mainly to get some info
from
> soap Header element
>
> So if i have put all my logic into
> MyServiceMessageReceiverInOut
>
> Is there any problem with this??? or i can go ahead doing this???
>
> --
> Rgds
> Mehar


--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Rgds
Mehar


Axis2.1.1 question

2006-11-21 Thread Mehar SVLN

Hai,

I have a question about MessageReceiverInOut...

I have a wsdl, where i ve generated the server side skeleton

I can see MyServiceMessageReceiverInOut, MyServiceSkeleton as important
claases...

I need acccess to SoapEnvelope typically. mainly to get some info from
soap Header element

So if i have put all my logic into MyServiceMessageReceiverInOut

Is there any problem with this??? or i can go ahead doing this???

--
Rgds
Mehar


Axis2.1.1 wsdl2java

2006-11-21 Thread Mehar SVLN

Hai All,

I have a wsdl i am generating stubs/skeletons seperately from it...

First i do a stub generation it will compile all my xsds, which will result
in some xmlbean classes

Can i stop wsdl2java to stop compiling xsds again for the skeleton
generation( Essentially it can use the same xmlbean classes generated in the
previous stub generation)

Can i achieve that using wsdl2java

--
Rgds
Mehar


Re: [AXIS2.1.1] setOperationContext() not called in the service implementation class

2006-11-17 Thread Mehar SVLN

Sorry Guys
its working
Sorry again

On 11/17/06, Martin Gainty <[EMAIL PROTECTED]> wrote:


 Hello Mehar

Could you please display your ./META-INF/services.xml?

Thank You,
M-
This e-mail communication and any attachments may contain confidential and
privileged information for the use of the
designated recipients named above. If you are not the intended recipient,
you are hereby notified that you have received
this communication in error and that any review, disclosure,
dissemination, distribution or copying of it or its
contents

- Original Message -
*From:* Mehar SVLN <[EMAIL PROTECTED]>
*To:* axis-user@ws.apache.org
*Sent:* Friday, November 17, 2006 9:14 AM
*Subject:* Re: [AXIS2.1.1] setOperationContext() not called in the service
implementation class

I am doing this in my code

MessageContext inMesasgeContext =
MessageContext.getCurrentMessageContext();

SOAPEnvelope envelope = inMesasgeContext.getEnvelope();

when i execute it say
org.apache.axis2.AxisFault: java.util.NoSuchElementException
at org.apache.axis2.description.OutInAxisOperationClient.execute(
OutInAxisOperation.java:308)
at com.sonoa.soi.client.SCIConfigServiceStub.createAG (
SCIConfigServiceStub.java:1539)
at com.sonoa.services.config.soicommands.SCIConfigClient.createAG(
SCIConfigClient.java:177)
at com.sonoa.services.config.soicommands.SCIConfigClient.main(
SCIConfigClient.java :648)

I Cannot access soapenvelope here or what???

Thanks in advance
Mehar
On 11/17/06, Mehar SVLN < [EMAIL PROTECTED]> wrote:
>
> Thilina
>
> Thanks a lot...
>
> Let me test this out...
>
> Thanks again
>
> On 11/17/06, Thilina Gunarathne < [EMAIL PROTECTED]> wrote:
> >
> > Hi,
> > Axis2.no longer supports this...
> > Please use  MessageContext.getCurrentContext();
> >
> > ~Thilina
> >
> > On 11/17/06, Mehar SVLN <[EMAIL PROTECTED] > wrote:
> > > Hai all,
> > >
> > > I have a wsdl and i have generated the server side skeleton for
> > it...
> > >
> > > Now in the skeleton i have added the code like
> > >
> > > //added to get the context
> > > public void setOperationContext(OperationContext
> > > opCtx)
> > > throws AxisFault {
> > > inMesasgeContext = opCtx.getMessageContext(
> > > WSDLConstants.MESSAGE_LABEL_IN_VALUE);
> > > }
> > >
> > > I need the messageContext to get the envelope, inside the
> > skeleton...
> > >
> > > Anyone let me know whatz going wrong
> > >
> > > Thanks in advance
> > > --
> > > Rgds
> > > Mehar
> >
> >
> > --
> > http://webservices.apache.org/~thilina/
> > <http://webservices.apache.org/%7Ethilina/>
> > http://thilinag.blogspot.com/
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Rgds
> Mehar




--
Rgds
Mehar





--
Rgds
Mehar


Re: [AXIS2.1.1] setOperationContext() not called in the service implementation class

2006-11-17 Thread Mehar SVLN

I am doing this in my code

   MessageContext inMesasgeContext =
MessageContext.getCurrentMessageContext();

   SOAPEnvelope envelope = inMesasgeContext.getEnvelope();

when i execute it say
org.apache.axis2.AxisFault: java.util.NoSuchElementException
   at org.apache.axis2.description.OutInAxisOperationClient.execute(
OutInAxisOperation.java:308)
   at com.sonoa.soi.client.SCIConfigServiceStub.createAG(
SCIConfigServiceStub.java:1539)
   at com.sonoa.services.config.soicommands.SCIConfigClient.createAG(
SCIConfigClient.java:177)
   at com.sonoa.services.config.soicommands.SCIConfigClient.main(
SCIConfigClient.java:648)

I Cannot access soapenvelope here or what???

Thanks in advance
Mehar
On 11/17/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:


Thilina

Thanks a lot...

Let me test this out...

Thanks again

On 11/17/06, Thilina Gunarathne < [EMAIL PROTECTED]> wrote:
>
> Hi,
> Axis2.no longer supports this...
> Please use  MessageContext.getCurrentContext();
>
> ~Thilina
>
> On 11/17/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
> > Hai all,
> >
> > I have a wsdl and i have generated the server side skeleton for it...
> >
> > Now in the skeleton i have added the code like
> >
> > //added to get the context
> > public void setOperationContext(OperationContext
> > opCtx)
> > throws AxisFault {
> > inMesasgeContext = opCtx.getMessageContext(
> > WSDLConstants.MESSAGE_LABEL_IN_VALUE);
> > }
> >
> > I need the messageContext to get the envelope, inside the skeleton...
> >
> > Anyone let me know whatz going wrong
> >
> > Thanks in advance
> > --
> > Rgds
> > Mehar
>
>
> --
> http://webservices.apache.org/~thilina/
> <http://webservices.apache.org/%7Ethilina/>
> http://thilinag.blogspot.com/
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Rgds
Mehar





--
Rgds
Mehar


Re: [AXIS2.1.1] setOperationContext() not called in the service implementation class

2006-11-17 Thread Mehar SVLN

Thilina

Thanks a lot...

Let me test this out...

Thanks again

On 11/17/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:


Hi,
Axis2.no longer supports this...
Please use  MessageContext.getCurrentContext();

~Thilina

On 11/17/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
> Hai all,
>
> I have a wsdl and i have generated the server side skeleton for it...
>
> Now in the skeleton i have added the code like
>
> //added to get the context
> public void setOperationContext(OperationContext
> opCtx)
> throws AxisFault {
> inMesasgeContext = opCtx.getMessageContext(
> WSDLConstants.MESSAGE_LABEL_IN_VALUE);
> }
>
> I need the messageContext to get the envelope, inside the skeleton...
>
> Anyone let me know whatz going wrong
>
> Thanks in advance
> --
> Rgds
> Mehar


--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Rgds
Mehar


[AXIS2.1.1] setOperationContext() not called in the service implementation class

2006-11-17 Thread Mehar SVLN

Hai all,

I have a wsdl and i have generated the server side skeleton for it...

Now in the skeleton i have added the code like

   //added to get the context
   public void setOperationContext(OperationContext opCtx)
   throws AxisFault {
   inMesasgeContext = opCtx.getMessageContext(
   WSDLConstants.MESSAGE_LABEL_IN_VALUE);
   }

I need the messageContext to get the envelope, inside the skeleton...

Anyone let me know whatz going wrong

Thanks in advance
--
Rgds
Mehar


Re: Exception while running invoking an application with axis 2.1.1

2006-11-16 Thread Mehar SVLN

Thilina

Thanks a lot :)

It worked

Mehar
On 11/16/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:


Oh thats great news

let me try with my application

Thanks

On 11/16/06, Thilina Gunarathne <[EMAIL PROTECTED] > wrote:
>
> Nice to hear that...
>
> BTW AFAIK XmlBeans works well with ws-tx-asl+stax- api-1.01.
> jars(shipped with axis2-bin distro) ... I used them for a code
> generation just a while ago and worked fine...
>
> ~Thilina
>
> On 11/16/06, Mehar SVLN <[EMAIL PROTECTED] > wrote:
> > Hai Thilina,
> >
> > I got the culprit its jsr173-api1.0.jar
> >
> > but  this is a compulsary jar with xmlbeans, i am using axis2.1.1 in
> > conjunction with xmlbeans(Even 2.2 version of xmlbeans using the sam
> jsr*
> > jar)...
> > How can i resolve this
> >
> > Any clues
> >
> > Thanks in advance
> > Mehar
> >
> >
> > On 11/16/06, Mehar SVLN <[EMAIL PROTECTED] > wrote:
> > > Hai Thilina,
> > >
> > > I ve checked all my jars that are getting included only
> wstx-asl-3.0.1 is
> > the only implementation i have and nothing else
> > >
> > > Ok let me test once again and let u know
> > >
> > > I see the same problem reported at this site but with web logic
> > >
> > >
> > http://www.mail-archive.com/axis-user@ws.apache.org/msg21258.html
> > >
> > > But i dont see any tomcat libraries giving this service...
> > >
> > >
> > >
> > >
> > > On 11/16/06, Thilina Gunarathne < [EMAIL PROTECTED] > wrote:
> > > > Please try using the wstx-asl-3.0.1.jar which comes with Axis2
> distro
> > > > as your stax impl...
> > > >
> > > > Also try your use case in a clean Axis2 war in a clean tomcat
> instance..
> > > >
> > > > ~Thilina
> > > >
> > > > On 11/15/06, Mehar SVLN < [EMAIL PROTECTED]> wrote:
> > > > > Hai,
> > > > > I ve tried that.. To my knowledge there are no more jars
> corrosponding
> > to
> > > > > stax
> > > > > i ve stax-api-1.0.1 that comes with axis2.1.1 war distribution
> and
> > > > > jsr173_1.0_api.jar that comes with xml beans...
> > > > > Strange thing is both of them have this method...
> > > > >
> > > > > Any clues???
> > > > >
> > > > > Thanks in advance
> > > > >
> > > > >
> > > > > On 11/15/06, Thilina Gunarathne < [EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Try the same magic.. Hunt for older jars... This case it looks
> like
> > > > > > older Stax jars..
> > > > > >
> > > > > > ~Thilina
> > > > > >
> > > > > > On 11/15/06, Mehar SVLN <[EMAIL PROTECTED] > wrote:
> > > > > > > Hai,
> > > > > > > I am using axis 2.1.1
> > > > > > >
> > > > > > > When i am trying to invoke one of my operations i am getting
> this
> > > > > exception
> > > > > > >
> > > > > > > [java] Nov 15, 2006 2:27:39 PM
> > > > > > > org.apache.axis2.transport.http.AxisServlet
> > doPost
> > > > > > >  [java] SEVERE: java.lang.NoSuchMethodError:
> > > > > > >
> > > > >
> > 
javax.xml.stream.XMLOutputFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory;
>
> > > > > > >  [java] Nov 15, 2006 2:27:39 PM
> > > > > > > org.apache.catalina.core.StandardWrapperValve
> > invoke
> > > > > > >  [java] SEVERE: Servlet.service () for servlet
> AxisServlet
> > threw
> > > > > > > exception
> > > > > > >  [java] java.lang.NoSuchMethodError :
> > > > > > >
> > > > >
> > javax.xml.stream.XMLOutputFactory.newInstance
> (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory;
> > > > > > >  [java] at
> > > > > > >
> > org.apache.axiom.om.util.StAXUtils.getXMLOutputFactory
> > > > > (StAXUtils.java:97)
> > > > > > >  [java] at
> > > > > > >
> > > > >
> > org.apache.axiom.om.util.StAXUtils.createXMLStreamWriter
> > ( StAXUtils.java:123)
> > > > >

Re: Exception while running invoking an application with axis 2.1.1

2006-11-16 Thread Mehar SVLN

Oh thats great news

let me try with my application

Thanks

On 11/16/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:


Nice to hear that...

BTW AFAIK XmlBeans works well with ws-tx-asl+stax-api-1.01.
jars(shipped with axis2-bin distro) ... I used them for a code
generation just a while ago and worked fine...

~Thilina

On 11/16/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
> Hai Thilina,
>
> I got the culprit its jsr173-api1.0.jar
>
> but  this is a compulsary jar with xmlbeans, i am using axis2.1.1 in
> conjunction with xmlbeans(Even 2.2 version of xmlbeans using the sam
jsr*
> jar)...
> How can i resolve this
>
> Any clues
>
> Thanks in advance
> Mehar
>
>
> On 11/16/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
> > Hai Thilina,
> >
> > I ve checked all my jars that are getting included only wstx-asl-3.0.1is
> the only implementation i have and nothing else
> >
> > Ok let me test once again and let u know
> >
> > I see the same problem reported at this site but with web logic
> >
> >
> http://www.mail-archive.com/axis-user@ws.apache.org/msg21258.html
> >
> > But i dont see any tomcat libraries giving this service...
> >
> >
> >
> >
> > On 11/16/06, Thilina Gunarathne <[EMAIL PROTECTED] > wrote:
> > > Please try using the wstx-asl-3.0.1.jar which comes with Axis2
distro
> > > as your stax impl...
> > >
> > > Also try your use case in a clean Axis2 war in a clean tomcat
instance..
> > >
> > > ~Thilina
> > >
> > > On 11/15/06, Mehar SVLN < [EMAIL PROTECTED]> wrote:
> > > > Hai,
> > > > I ve tried that.. To my knowledge there are no more jars
corrosponding
> to
> > > > stax
> > > > i ve stax-api-1.0.1 that comes with axis2.1.1 war distribution and
> > > > jsr173_1.0_api.jar that comes with xml beans...
> > > > Strange thing is both of them have this method...
> > > >
> > > > Any clues???
> > > >
> > > > Thanks in advance
> > > >
> > > >
> > > > On 11/15/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Try the same magic.. Hunt for older jars... This case it looks
like
> > > > > older Stax jars..
> > > > >
> > > > > ~Thilina
> > > > >
> > > > > On 11/15/06, Mehar SVLN <[EMAIL PROTECTED] > wrote:
> > > > > > Hai,
> > > > > > I am using axis 2.1.1
> > > > > >
> > > > > > When i am trying to invoke one of my operations i am getting
this
> > > > exception
> > > > > >
> > > > > > [java] Nov 15, 2006 2:27:39 PM
> > > > > > org.apache.axis2.transport.http.AxisServlet
> doPost
> > > > > >  [java] SEVERE: java.lang.NoSuchMethodError:
> > > > > >
> > > >
> javax.xml.stream.XMLOutputFactory.newInstance
(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory;
> > > > > >  [java] Nov 15, 2006 2:27:39 PM
> > > > > > org.apache.catalina.core.StandardWrapperValve
> invoke
> > > > > >  [java] SEVERE: Servlet.service() for servlet AxisServlet
> threw
> > > > > > exception
> > > > > >  [java] java.lang.NoSuchMethodError :
> > > > > >
> > > >
> javax.xml.stream.XMLOutputFactory.newInstance
(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory;
> > > > > >  [java] at
> > > > > >
> org.apache.axiom.om.util.StAXUtils.getXMLOutputFactory
> > > > (StAXUtils.java:97)
> > > > > >  [java] at
> > > > > >
> > > >
> org.apache.axiom.om.util.StAXUtils.createXMLStreamWriter
> (StAXUtils.java:123)
> > > > > >  [java] at
> > > > > > org.apache.axiom.om.impl.MTOMXMLStreamWriter
> > > > > > .( MTOMXMLStreamWriter.java:74)
> > > > > >  [java] at
> > > > > >
> > > >
> org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(
OMNodeImpl.java:410)
> > > > > >  [java] at
> > > > > >
> > > >
>
org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream
> > > > > > (CommonsHTTPTransportSender.java:275)
> > > > > >  [java] at
> &g

Re: Exception while running invoking an application with axis 2.1.1

2006-11-16 Thread Mehar SVLN

Hai Thilina,

I got the culprit its jsr173-api1.0.jar

but  this is a compulsary jar with xmlbeans, i am using axis2.1.1 in
conjunction with xmlbeans(Even 2.2 version of xmlbeans using the sam jsr*
jar)...
How can i resolve this

Any clues

Thanks in advance
Mehar

On 11/16/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:


Hai Thilina,

I ve checked all my jars that are getting included only wstx-asl-3.0.1 is
the only implementation i have and nothing else

Ok let me test once again and let u know

I see the same problem reported at this site but with web logic

http://www.mail-archive.com/axis-user@ws.apache.org/msg21258.html

But i dont see any tomcat libraries giving this service...


On 11/16/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:
>
> Please try using the wstx-asl-3.0.1.jar which comes with Axis2 distro
> as your stax impl...
>
> Also try your use case in a clean Axis2 war in a clean tomcat instance..
>
> ~Thilina
>
> On 11/15/06, Mehar SVLN < [EMAIL PROTECTED]> wrote:
> > Hai,
> > I ve tried that.. To my knowledge there are no more jars corrosponding
> to
> > stax
> > i ve stax-api-1.0.1 that comes with axis2.1.1 war distribution and
> > jsr173_1.0_api.jar that comes with xml beans...
> > Strange thing is both of them have this method...
> >
> > Any clues???
> >
> > Thanks in advance
> >
> >
> > On 11/15/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:
> > >
> > > Try the same magic.. Hunt for older jars... This case it looks like
> > > older Stax jars..
> > >
> > > ~Thilina
> > >
> > > On 11/15/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
> > > > Hai,
> > > > I am using axis 2.1.1
> > > >
> > > > When i am trying to invoke one of my operations i am getting this
> > exception
> > > >
> > > > [java] Nov 15, 2006 2:27:39 PM
> > > > org.apache.axis2.transport.http.AxisServlet doPost
> > > >  [java] SEVERE: java.lang.NoSuchMethodError:
> > > >
> > 
javax.xml.stream.XMLOutputFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory;
>
> > > >  [java] Nov 15, 2006 2:27:39 PM
> > > > org.apache.catalina.core.StandardWrapperValve invoke
> > > >  [java] SEVERE: Servlet.service() for servlet AxisServlet
> threw
> > > > exception
> > > >  [java] java.lang.NoSuchMethodError :
> > > >
> > javax.xml.stream.XMLOutputFactory.newInstance
> (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory;
> > > >  [java] at
> > > > org.apache.axiom.om.util.StAXUtils.getXMLOutputFactory
> > (StAXUtils.java:97)
> > > >  [java] at
> > > >
> > org.apache.axiom.om.util.StAXUtils.createXMLStreamWriter (
> StAXUtils.java:123)
> > > >  [java] at
> > > > org.apache.axiom.om.impl.MTOMXMLStreamWriter
> > > > .( MTOMXMLStreamWriter.java:74)
> > > >  [java] at
> > > >
> > org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(
> OMNodeImpl.java:410)
> > > >  [java] at
> > > >
> >
> 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream
> > > > (CommonsHTTPTransportSender.java:275)
> > > >  [java] at
> > > >
> > org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(
> CommonsHTTPTransportSender.java:209)
> > > >  [java] at
> > > > org.apache.axis2.engine.AxisEngine.sendFault
> > > > (AxisEngine.java:710)
> > > >  [java] at
> > > >
> > org.apache.axis2.transport.http.AxisServlet.handleFault (
> AxisServlet.java:305)
> > > >  [java] at
> > > > org.apache.axis2.transport.http.AxisServlet.doPost
> > (AxisServlet.java:287)
> > > >  [java] at
> > > >
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> > > >  [java] at
> > > >
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > > >  [java] at
> > > >
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> > > > (ApplicationFilterChain.java:252)
> > > >  [java] at
> > > >
> > org.apache.catalina.core.ApplicationFilterChain.doFilter (
> ApplicationFilterChain.java
> > :173)
> > > >  [java] at
> > > > org.apache.catalina.core.S

Re: Exception while running invoking an application with axis 2.1.1

2006-11-15 Thread Mehar SVLN

Hai Thilina,

I ve checked all my jars that are getting included only wstx-asl-3.0.1 is
the only implementation i have and nothing else

Ok let me test once again and let u know

I see the same problem reported at this site but with web logic

http://www.mail-archive.com/axis-user@ws.apache.org/msg21258.html

But i dont see any tomcat libraries giving this service...


On 11/16/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:


Please try using the wstx-asl-3.0.1.jar which comes with Axis2 distro
as your stax impl...

Also try your use case in a clean Axis2 war in a clean tomcat instance..

~Thilina

On 11/15/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
> Hai,
> I ve tried that.. To my knowledge there are no more jars corrosponding
to
> stax
> i ve stax-api-1.0.1 that comes with axis2.1.1 war distribution and
> jsr173_1.0_api.jar that comes with xml beans...
> Strange thing is both of them have this method...
>
> Any clues???
>
> Thanks in advance
>
>
> On 11/15/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:
> >
> > Try the same magic.. Hunt for older jars... This case it looks like
> > older Stax jars..
> >
> > ~Thilina
> >
> > On 11/15/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
> > > Hai,
> > > I am using axis 2.1.1
> > >
> > > When i am trying to invoke one of my operations i am getting this
> exception
> > >
> > > [java] Nov 15, 2006 2:27:39 PM
> > > org.apache.axis2.transport.http.AxisServlet doPost
> > >  [java] SEVERE: java.lang.NoSuchMethodError:
> > >
> javax.xml.stream.XMLOutputFactory.newInstance
(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory;
> > >  [java] Nov 15, 2006 2:27:39 PM
> > > org.apache.catalina.core.StandardWrapperValve invoke
> > >  [java] SEVERE: Servlet.service() for servlet AxisServlet threw
> > > exception
> > >  [java] java.lang.NoSuchMethodError :
> > >
> javax.xml.stream.XMLOutputFactory.newInstance
(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory;
> > >  [java] at
> > > org.apache.axiom.om.util.StAXUtils.getXMLOutputFactory
> (StAXUtils.java:97)
> > >  [java] at
> > >
> org.apache.axiom.om.util.StAXUtils.createXMLStreamWriter(StAXUtils.java
:123)
> > >  [java] at
> > > org.apache.axiom.om.impl.MTOMXMLStreamWriter
> > > .( MTOMXMLStreamWriter.java:74)
> > >  [java] at
> > >
> org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(
OMNodeImpl.java:410)
> > >  [java] at
> > >
>
org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream
> > > (CommonsHTTPTransportSender.java:275)
> > >  [java] at
> > >
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(
CommonsHTTPTransportSender.java:209)
> > >  [java] at
> > > org.apache.axis2.engine.AxisEngine.sendFault
> > > (AxisEngine.java:710)
> > >  [java] at
> > >
> org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java
:305)
> > >  [java] at
> > > org.apache.axis2.transport.http.AxisServlet.doPost
> (AxisServlet.java:287)
> > >  [java] at
> > >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> > >  [java] at
> > >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > >  [java] at
> > >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> > > (ApplicationFilterChain.java:252)
> > >  [java] at
> > >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java
> :173)
> > >  [java] at
> > > org.apache.catalina.core.StandardWrapperValve.invoke(
> > > StandardWrapperValve.java:213)
> > >  [java] at
> > > org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValve.java:178)
> > >  [java] at
> > >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> > > :126)
> > >  [java] at
> > > org.apache.catalina.valves.ErrorReportValve.invoke
> (ErrorReportValve.java:105)
> > >  [java] at
> > >
> org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:107)
> > >  [java] at
> > > org.apache.catalina.connector.CoyoteAdapter.service
> (CoyoteAdapter.java:148)
> > >  [java] at
> > &g

Re: Exception while running invoking an application with axis 2.1.1

2006-11-15 Thread Mehar SVLN
Hai,I ve tried that.. To my knowledge there are no more jars corrosponding to staxi ve stax-api-1.0.1 that comes with axis2.1.1 war distribution and jsr173_1.0_api.jar that comes with xml beans...Strange thing is both of them have this method...
Any clues???Thanks in advanceOn 11/15/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:
Try the same magic.. Hunt for older jars... This case it looks likeolder Stax jars..
~ThilinaOn 11/15/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:> Hai,> I am using axis 2.1.1>> When i am trying to invoke one of my operations i am getting this exception
>> [java] Nov 15, 2006 2:27:39 PM> org.apache.axis2.transport.http.AxisServlet doPost>  [java] SEVERE: java.lang.NoSuchMethodError:> javax.xml.stream.XMLOutputFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory;
>  [java] Nov 15, 2006 2:27:39 PM> org.apache.catalina.core.StandardWrapperValve invoke>  [java] SEVERE: Servlet.service() for servlet AxisServlet threw> exception>  [java] java.lang.NoSuchMethodError
:> javax.xml.stream.XMLOutputFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory;>  [java] at> org.apache.axiom.om.util.StAXUtils.getXMLOutputFactory
(StAXUtils.java:97)>  [java] at> org.apache.axiom.om.util.StAXUtils.createXMLStreamWriter(StAXUtils.java:123)>  [java] at> org.apache.axiom.om.impl.MTOMXMLStreamWriter> .(
MTOMXMLStreamWriter.java:74)>  [java] at> org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:410)>  [java] at> org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream
> (CommonsHTTPTransportSender.java:275)>  [java] at> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:209)>  [java] at> org.apache.axis2.engine.AxisEngine.sendFault
> (AxisEngine.java:710)>  [java] at> org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:305)>  [java] at> org.apache.axis2.transport.http.AxisServlet.doPost
(AxisServlet.java:287)>  [java] at> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)>  [java] at> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)>  [java] at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter> (ApplicationFilterChain.java:252)>  [java] at> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java
:173)>  [java] at> org.apache.catalina.core.StandardWrapperValve.invoke(> StandardWrapperValve.java:213)>  [java] at> org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:178)>  [java] at> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java> :126)>  [java] at> org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)>  [java] at> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)>  [java] at> org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:148)>  [java] at> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)>  [java] at> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
> (Http11BaseProtocol.java:667)>  [java] at> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)>  [java] at> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java> :80)>  [java] at> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)>  [java] at java.lang.Thread.run(Thread.java
:595)>  [java] Nov 15, 2006 2:27:39 PM> org.apache.catalina.core.ApplicationDispatcher invoke>  [java] SEVERE: Servlet.service() for servlet jsp threw exception>  [java] java.lang.IllegalStateException
: getOutputStream() has already> been called for this response>  [java] at> org.apache.catalina.connector.Response.getWriter> (Response.java:606)>  [java] at> org.apache.catalina.connector.ResponseFacade.getWriter
(ResponseFacade.java:195)>  [java] at> org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:124)>  [java] at> org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java
:117)>  [java] at> org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:191)>  [java] at> org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext
> (JspFactoryImpl.java:115)>  [java] at> org.apache.jasper.runtime.JspFactory

Exception while running invoking an application with axis 2.1.1

2006-11-15 Thread Mehar SVLN
Hai,I am using axis 2.1.1When i am trying to invoke one of my operations i am getting this exception[java] Nov 15, 2006 2:27:39 PM org.apache.axis2.transport.http.AxisServlet doPost [java] SEVERE: 
java.lang.NoSuchMethodError: javax.xml.stream.XMLOutputFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory; [java] Nov 15, 2006 2:27:39 PM org.apache.catalina.core.StandardWrapperValve
 invoke [java] SEVERE: Servlet.service() for servlet AxisServlet threw exception [java] java.lang.NoSuchMethodError: javax.xml.stream.XMLOutputFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory;
 [java] at org.apache.axiom.om.util.StAXUtils.getXMLOutputFactory(StAXUtils.java:97) [java] at org.apache.axiom.om.util.StAXUtils.createXMLStreamWriter(StAXUtils.java:123) [java] at org.apache.axiom.om.impl.MTOMXMLStreamWriter
.(MTOMXMLStreamWriter.java:74) [java] at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:410) [java] at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream
(CommonsHTTPTransportSender.java:275) [java] at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:209) [java] at org.apache.axis2.engine.AxisEngine.sendFault
(AxisEngine.java:710) [java] at org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:305) [java] at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:287) [java] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:709) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) [java] at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:213) [java] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) [java] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126) [java] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) [java] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) [java] at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) [java] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) [java] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
(Http11BaseProtocol.java:667) [java] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) [java] at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java
:80) [java] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) [java] at java.lang.Thread.run(Thread.java:595) [java] Nov 15, 2006 2:27:39 PM org.apache.catalina.core.ApplicationDispatcher
 invoke [java] SEVERE: Servlet.service() for servlet jsp threw exception [java] java.lang.IllegalStateException: getOutputStream() has already been called for this response [java] at org.apache.catalina.connector.Response.getWriter
(Response.java:606) [java] at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:195) [java] at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:124) [java] at 
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:117) [java] at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:191) [java] at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext
(JspFactoryImpl.java:115) [java] at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:75) [java] at org.apache.jsp.axis2_002dweb.Error.error500_jsp._jspService(org.apache.jsp.axis2_002dweb.Error.error500_jsp:97
) [java] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) [java] at org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:332) [java] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) [java] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) [java] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173) [java]

Re: Error while using Axis2 1.1, Method not found in DependencyManager

2006-11-14 Thread Mehar SVLN
Thanks Thilina, I ve replaced my old jars. it worksOnce again thanks a lotRgdsMehar
On 11/14/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:
Seems like you have old axis2 jars in the classpath...That method was removed from Axis2 [1] when fixing an issue withsetOperationContext...~Thilina[1] 
http://svn.apache.org/viewvc?view=rev&revision=467258[2] 
http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/engine/DependencyManager.java?r1=465992&r2=467258&diff_format=hOn 11/14/06, Mehar SVLN <
[EMAIL PROTECTED]> wrote:> Hai frnds,>> downloaded axis2.war from the website for 1.1version> I ve generated skeletons for my wsdl and deployed in apache tomcat>> I am getting this error while trying to invoke the operation from outside
>>>> -- SEVERE: java.lang.NoSuchMethodError:> org.apache.axis2.engine.DependencyManager.configureBusinessLogicProvider(Ljava/lang/Object;Lorg/apache/axis2/context/OperationContext;)V
> Nov 14, 2006 9:19:12 PM> org.apache.axis2.transport.http.AxisServlet doPost> SEVERE: java.lang.NoSuchMethodError:> org.apache.axis2.engine.DependencyManager.configureBusinessLogicProvider(Ljava/lang/Object;Lorg/apache/axis2/context/OperationContext;)V
> Nov 14, 2006 9:30:14 PM> org.apache.axis2.transport.http.AxisServlet doPost> SEVERE: java.lang.NoSuchMethodError:> org.apache.axis2.engine.DependencyManager.configureBusinessLogicProvider(Ljava/lang/Object;Lorg/apache/axis2/context/OperationContext;)V
>> Is there any problem with the distribution???>> Rgds> Mehar--http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/-To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]-- RgdsMehar


Error while using Axis2 1.1, Method not found in DependencyManager

2006-11-14 Thread Mehar SVLN
Hai frnds,downloaded axis2.war from the website for 1.1versionI ve generated skeletons for my wsdl and deployed in apache tomcatI am getting this error while trying to invoke the operation from outside
-- SEVERE: java.lang.NoSuchMethodError: org.apache.axis2.engine.DependencyManager.configureBusinessLogicProvider(Ljava/lang/Object;Lorg/apache/axis2/context/OperationContext;)V
Nov 14, 2006 9:19:12 PM org.apache.axis2.transport.http.AxisServlet doPostSEVERE: java.lang.NoSuchMethodError: org.apache.axis2.engine.DependencyManager.configureBusinessLogicProvider(Ljava/lang/Object;Lorg/apache/axis2/context/OperationContext;)V
Nov 14, 2006 9:30:14 PM org.apache.axis2.transport.http.AxisServlet doPostSEVERE: java.lang.NoSuchMethodError: org.apache.axis2.engine.DependencyManager.configureBusinessLogicProvider(Ljava/lang/Object;Lorg/apache/axis2/context/OperationContext;)V
Is there any problem with the distribution???RgdsMehar


Help needed in the skeleton classes

2006-11-14 Thread Mehar SVLN
Hai all,I am new to this community...I have a wsdl and i am generating skeletons to write the server side codeI want to know what is the difference between msgContext.getAxisOperation() and msgContext.getOperationContext
().getOperation()In my code these two are getting evaluated to differnt operations itselt like operation1 and operation2 which are not at all relatedCan anyone tell me what the difference between the two method calls...
Thanks in advance-- RgdsMehar