Re: Identified AXIS2 Unexpected Element issue but how do I get this to work with stubs

2008-08-21 Thread Jeff Greif
Note that in this snippet, you haven't declared the ca: prefix used
below.  It could be declared in the definitions element, though.

Perhaps it would help to declare the ca: prefix in the schema element.

Jeff

On Thu, Aug 21, 2008 at 4:35 PM, Andrew Zielinski
<[EMAIL PROTECTED]> wrote:
>
> Here you go. Any help is much appreciated.
>
>
>http://www.w3.org/2001/XMLSchema";
> targetNamespace="http://online.nielsen.com/ca/api/";>
>
>
>
> type="ca:SummaryRequest"/>
>
>
>
>
> type="unsignedLong" nillable="false" />
> type="ca:DateRange" nillable="false" />
> type="string" minOccurs="0" maxOccurs="1" />
> type="ca:Pagination" minOccurs="0"
> maxOccurs="1" />
> type="ca:Sort" minOccurs="0" maxOccurs="1" />
> type="string" minOccurs="0"
> maxOccurs="unbounded"  />
>
>
>
>
>
>
> minOccurs="1" maxOccurs="unbounded"
> />
>
>
>
>
>
> type="string"/>
> type="string"/>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> type="dateTime"/>
> type="dateTime" minOccurs="0"
> maxOccurs="1"/>
>
> maxOccurs="unbounded"/>
>
>
>
>
>
> minOccurs="0" maxOccurs="1"/>
> maxOccurs="unbounded"/>
> type="ca:Metric" maxOccurs="unbounded"/>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> use="optional" />
>
>
>
>
>
>
>
>
>
>
>
> Eran Chinthaka-3 wrote:
>>
>> Can you share the types section of your WSDL file?
>>
>> On Wed, Aug 20, 2008 at 1:42 AM, Andrew Zielinski > gmail.com> wrote:
>>
>>>
>>> Hi,
>>>
>>> Like many users I was having issues with 'unexpected element'. With the
>>> help
>>> of TCPMon I was able to resolve the issue. Instead of the soap request
>>> being
>>> formed like this:
>>>
>>> 
>>> >> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>>> ">
>>> 
>>> http://online.nielsen.com/ca/api/";>
>>> 55
>>> 
>>> 2008-11-01T00:00:00.000+10:00
>>> 2008-11-01T00:00:00.000+10:00
>>> 
>>> 
>>> 
>>> 
>>>
>>> I would need to specify the namespace and prefix in soapenv:Envelope like
>>> this:
>>>
>>> 
>>> >> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>>> "
>>> xmlns:q0="http://online.nielsen.com/ca/api/";>
>>> 
>>> 
>>> 55
>>> 
>>> 2008-11-01T00:00:00.000+10:00
>>> 2008-11-01T00:00:00.000+10:00
>>> 
>>> 
>>> 
>>> 
>>>
>>> My question is, is there anyway to modify the stub request so it is like
>>> the
>>> second example or is there anything that I would I have to do to my WSDL
>>> for
>>> the first request to be valid.
>>>
>>> Cheers,
>>>
>>> Andrew
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Identified-AXIS2-Unexpected-Element-issue-but-how-do-I-get-this-to-work-with-stubs-tp19063214p19063214.html
>>> Sent from the Axis - User mailing list archive at Nabble.com.
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For ad

Re: ( Fixed It )Identified AXIS2 Unexpected Element issue but how do I get this to work with stubs

2008-08-21 Thread Andrew Zielinski

When I do the following everything works out fine. I prefer to have all the
elements at the top of the types section but the stubs working is more
important to me.

 
 
 
 
 
 
 
 
 
 
 




Andrew Zielinski wrote:
> 
> Here you go. Any help is much appreciated.
> 
>   
>   http://www.w3.org/2001/XMLSchema";
> targetNamespace="http://online.nielsen.com/ca/api/";>
> 
>   
>   
>type="ca:SummaryRequest"/>
> 
>   
>   
>   
>type="unsignedLong" nillable="false" />
>type="ca:DateRange" nillable="false" />
>type="string" minOccurs="0" maxOccurs="1" />
>type="ca:Pagination" minOccurs="0"
> maxOccurs="1" />
>type="ca:Sort" minOccurs="0" maxOccurs="1" />
>type="string" minOccurs="0"
> maxOccurs="unbounded"  />
>   
>   
> 
>   
>   
>   
>minOccurs="1" maxOccurs="unbounded"
> />
>   
>   
>   
>   
>   
>type="string"/>
>type="string"/>
>
>   
>   
>   
>   
>   
>   
>
>   
>   
>   
>   
>   
>   
>
> 
> 
>   
>   
>   
>   
>type="dateTime"/>
>type="dateTime" minOccurs="0"
> maxOccurs="1"/>
>   
>maxOccurs="unbounded"/>
>   
> 
>   
>   
>   
>minOccurs="0" maxOccurs="1"/>
>maxOccurs="unbounded"/>
>maxOccurs="unbounded"/>
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
> 
>   
>   
>   
>   
>   
>use="optional" />
>   
>   
> 
>   
>   
>   
>   
> 
> 
> 
> 
> Eran Chinthaka-3 wrote:
>> 
>> Can you share the types section of your WSDL file?
>> 
>> On Wed, Aug 20, 2008 at 1:42 AM, Andrew Zielinski > gmail.com> wrote:
>> 
>>>
>>> Hi,
>>>
>>> Like many users I was having issues with 'unexpected element'. With the
>>> help
>>> of TCPMon I was able to resolve the issue. Instead of the soap request
>>> being
>>> formed like this:
>>>
>>> 
>>> >> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>>> ">
>>> 
>>> http://online.nielsen.com/ca/api/";>
>>> 55
>>> 
>>> 2008-11-01T00:00:00.000+10:00
>>> 2008-11-01T00:00:00.000+10:00
>>> 
>>> 
>>> 
>>> 
>>>
>>> I would need to specify the namespace and prefix in soapenv:Envelope
>>> like
>>> this:
>>>
>>> 
>>> >> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>>> "
>>> xmlns:q0="http://online.nielsen.com/ca/api/";>
>>> 
>>> 
>>> 55
>>> 
>>> 2008-11-01T00:00:00.000+10:00
>>> 2008-11-01T00:00:00.000+10:00
>>> 
>>> 
>>> 
>>>

RE: Identified AXIS2 Unexpected Element issue but how do I get this to work with stubs

2008-08-21 Thread Martin Gainty

can you forward the namespace assignments which you will see at the top of the 
schema definition
e.g.
http://www.w3.org/2001/XMLSchema";
...
>

Martin 
__ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 


> Date: Thu, 21 Aug 2008 16:35:19 -0700
> From: [EMAIL PROTECTED]
> To: axis-user@ws.apache.org
> Subject: Re: Identified AXIS2 Unexpected Element issue but how do I get this 
> to work with stubs
> 
> 
> Here you go. Any help is much appreciated.
> 
>   
>   http://www.w3.org/2001/XMLSchema";
> targetNamespace="http://online.nielsen.com/ca/api/";>
> 
>   
>   
>type="ca:SummaryRequest"/>
> 
>   
>   
>   
>type="unsignedLong" nillable="false" />
>type="ca:DateRange" nillable="false" />
>type="string" minOccurs="0" maxOccurs="1" />
>type="ca:Pagination" minOccurs="0"
> maxOccurs="1" />
>type="ca:Sort" minOccurs="0" maxOccurs="1" />
>type="string" minOccurs="0"
> maxOccurs="unbounded"  />
>   
>   
> 
>   
>   
>   
>minOccurs="1" maxOccurs="unbounded"
> />
>   
>   
>   
>   
>   
>type="string"/>
>type="string"/>
>
>   
>   
>   
>   
>   
>   
>
>   
>   
>   
>   
>   
>   
>
> 
> 
>   
>   
>   
>   
>type="dateTime"/>
>type="dateTime" minOccurs="0"
> maxOccurs="1"/>
>   
>maxOccurs="unbounded"/>
>   
> 
>   
>   
>   
>minOccurs="0" maxOccurs="1"/>
>maxOccurs="unbounded"/>
>maxOccurs="unbounded"/>
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
> 
>   
>   
>   
>   
>   
>use="optional" />
>   
>   
> 
>   
>   
>   
>   
> 
> 
> 
> 
> Eran Chinthaka-3 wrote:
> > 
> > Can you share the types section of your WSDL file?
> > 
> > On Wed, Aug 20, 2008 at 1:42 AM, Andrew Zielinski  > gmail.com> wrote:
> > 
> >>
> >> Hi,
> >>
> >> Like many users I was having issues with 'unexpected element'. With the
> >> help
> >> of TCPMon I was able to resolve the issue. Instead of the soap request
> >> being
> >> formed like this:
> >>
> >> 
> >>  >> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> >> ">
> >> 
> >> http://online.nielsen.com/ca/api/";>
> >> 55
> >> 
> >> 2008-11-01T00:00:00.000+10:00
> >> 2008-11-01T00:00:00.000+10:00
> >> 
> >> 
> >> 
> >> 
> >>
> >> I would need to specify the namespace and prefix in soapenv:Envelope like
> >> this:
> >>
> >> 
> >>  >> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> >> "
> >> xmlns:q

Re: Identified AXIS2 Unexpected Element issue but how do I get this to work with stubs

2008-08-21 Thread Andrew Zielinski

Here you go. Any help is much appreciated.


http://www.w3.org/2001/XMLSchema";
targetNamespace="http://online.nielsen.com/ca/api/";>




























 






 






 
  










  
















  








  








Eran Chinthaka-3 wrote:
> 
> Can you share the types section of your WSDL file?
> 
> On Wed, Aug 20, 2008 at 1:42 AM, Andrew Zielinski  gmail.com> wrote:
> 
>>
>> Hi,
>>
>> Like many users I was having issues with 'unexpected element'. With the
>> help
>> of TCPMon I was able to resolve the issue. Instead of the soap request
>> being
>> formed like this:
>>
>> 
>> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>> ">
>> 
>> http://online.nielsen.com/ca/api/";>
>> 55
>> 
>> 2008-11-01T00:00:00.000+10:00
>> 2008-11-01T00:00:00.000+10:00
>> 
>> 
>> 
>> 
>>
>> I would need to specify the namespace and prefix in soapenv:Envelope like
>> this:
>>
>> 
>> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
>> "
>> xmlns:q0="http://online.nielsen.com/ca/api/";>
>> 
>> 
>> 55
>> 
>> 2008-11-01T00:00:00.000+10:00
>> 2008-11-01T00:00:00.000+10:00
>> 
>> 
>> 
>> 
>>
>> My question is, is there anyway to modify the stub request so it is like
>> the
>> second example or is there anything that I would I have to do to my WSDL
>> for
>> the first request to be valid.
>>
>> Cheers,
>>
>> Andrew
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Identified-AXIS2-Unexpected-Element-issue-but-how-do-I-get-this-to-work-with-stubs-tp19063214p19063214.html
>> Sent from the Axis - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> With Mettha,
> Eran Chinthaka
> 
> 
> Health is the greatest gift; contentment is the greatest wealth; trusting
> is
> the best relationship; nirvana is the highest joy. - Dhammapada
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Identified-AXIS2-Unexpected-Element-issue-but-how-do-I-get-this-to-work-with-stubs-tp19063214p19098976.html
Sent from the Axis - User mailing list archive at Nabble.com.


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

RE: Axis2 packaging class files in the AAR

2008-08-21 Thread Attharkar, Asmita
There is this thing that has been nagging me since long which is related
I want to call my service something else but not axis2.war and I want a url to 
the web service which clearly has a context of my service but not axis2...Can 
we do that? How? I have been trying to rename the exploded folder but it 
wouldn't work- Is this context is hardcoded in the AxisServlet???

Can I do that?? - There is this post raising a question:

I managed to create the "axis2.war" and it runs perfectly.
But now I want to rename it - say into "book.war". When I do so I can address 
the wsdl at "http://yourhost:port/book/services/BookService?wsdl";.

So far so good- but how can I make Axis to generate in the wsdl the endpoints 
correctly? These unfortunately stay at:

soap:address location="http://yourhost:port/axis2/services/BookService"; .


-Original Message-
From: Bartolomeo Nicolotti [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 20, 2008 11:01 AM
To: axis-user@ws.apache.org
Subject: Re: Axis2 packaging class files in the AAR

Hi,

ho, it's not necessary, actually I have a webservice without any aar.
Here some documentation:

How to Embed an Axis2 based Web Service in your Webapp?

http://wso2.org/library/90


Bye!
Il giorno mer, 20/08/2008 alle 07.51 -0700, Shah, Sumit ha scritto:
> Hello,
>
>
>
> Is it necessary to package the service related class files in
> the .aar?  Is it sufficient to have the service class files (packaged
> in a jar) in the classpath of the Axis2 WAR file?
>
>
>
> Thanks
>
> Sumit
>
>


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


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



Re: Need help

2008-08-21 Thread SivaKrishna Kumar
>
> Hi,
>
> I am relatively new to Web Services and I have a problem. Can some one
> please let me know where exactly is the problem ? Thanks in advance.
>
> I am trying make changes to ZSI ( Zolera SOAP Infrastructure, kind of Axis
> like API in Python) for adding MTOM support. For this I have downloaded
> Axis2-1.4 started Axis sever. Uusing MTOM Example WSDL file I have generated
> client side stubs required for Python client.
>
> When I tried uploading a file from Python client to Axis server using MTOM,
> I am getting the below error.
>
> "Part content ID cannot be blank for non root MIME parts"
>
> I am attaching my SOAP messages and headers that are sent to Axis server, 
> before
> and after converision for MTOM.
>
> Can someone have a look at the error and point me what is the problem.
>
> Regards
> Siva
>
>
>

SOAP Message before modified for MTOM:
*
http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:ZSI="http://www.zolera.com/schemas/ZSI/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>http://ws.apache.org/axis2/mtomsample/";>w:\winzip_log_axis_mtomexample_saved.log
VEVTVCBBWElTIE1UT00gU0FNUExFV3pUb29sQmFyOjpSZUNhbGNCYXJTaXplKCkNCld6VG9vbEJh
bmQ6Ok9uU2l6ZSgpDQpjbDoNCiJDOlxEb2N1bWVudHMgYW5kIFNldHRpbmdzXDEwMDc1OFxNeSBE
b2N1bWVudHNcZGVza3RvcFxheGlzXGF4aXMyLTEuNC1zcmMuemlwIiANCld6VG9vbEJhcjo6Tm90
aWZ5SGFuZGxlcigpDQpXelRvb2xCYW5kOjpPblNpemUoKQ0KRXh0cmFjdGluZyB0byAiQzpcRG9j
dW1lbnRzIGFuZCBTZXR0aW5nc1wxMDA3NThcTXkgRG9jdW1lbnRzXGRlc2t0b3BcYXhpc1xheGlz
Mi0xLjQtc3JjXCINClVzZSBQYXRoOiB5ZXMgICBPdmVybGF5IEZpbGVzOiBubw0KV3pUb29sQmFu
ZDo6T25TaXplKCkNCld6VG9vbEJhcjo6Tm90aWZ5SGFuZGxlcigpDQpXelRvb2xCYXI6OlJlQ2Fs
Y0JhclNpemUoKQ0KV3pUb29sQmFuZDo6T25TaXplKCkNCmNsOg0KIkM6XERvY3VtZW50cyBhbmQg
U2V0dGluZ3NcMTAwNzU4XE15IERvY3VtZW50c1xkZXNrdG9wXGF4aXNcYXhpczItMS40LXNyYy56
aXAiIA0KV3pUb29sQmFyOjpOb3RpZnlIYW5kbGVyKCkNCld6VG9vbEJhbmQ6Ok9uU2l6ZSgpDQpF
eHRyYWN0aW5nIHRvICJDOlxEb2N1bWVudHMgYW5kIFNldHRpbmdzXDEwMDc1OFxNeSBEb2N1bWVu
dHNcZGVza3RvcFxheGlzXGF4aXMyLTEuNC1zcmNcIg0KVXNlIFBhdGg6IHllcyAgIE92ZXJsYXkg
RmlsZXM6IG5vDQpXelRvb2xCYW5kOjpPblNpemUoKQ0KV3pUb29sQmFyOjpOb3RpZnlIYW5kbGVy
KCkNCg==

*

Headers before modified for MTOM:
*
{'SOAPAction': '"attachment"', 'Content-Length': 1580, 'Content-type': 
'text/xml; charset="UTF-8"', 'Accept': 'application/soap+xml, application/dime, 
multipart/related, text/*', 'User-Agent': 'ZSI/2.1'}
*

SOAP Message after modified for MTOM:
*
--==ZSI_MIME_BOUNDARY==
Content-Transfer-Encoding: 7bit
Content-ID: 
Content-Type: application/xop+xml; charset="UTF-8"; type="text/xml"

http://schemas.xmlsoap.org/soap/envelope/";>http://ws.apache.org/axis2/mtomsample/";>w:\winzip_log_axis_mtomexample_saved.loghttp://www.w3.org/2004/08/xop/include"; 
/>
--==ZSI_MIME_BOUNDARY==
Content-Type: application/octet-stream
Content-Transfer-Encoding: 7bit
Content-ID: 


VEVTVCBBWElTIE1UT00gU0FNUExFV3pUb29sQmFyOjpSZUNhbGNCYXJTaXplKCkNCld6VG9vbEJh
bmQ6Ok9uU2l6ZSgpDQpjbDoNCiJDOlxEb2N1bWVudHMgYW5kIFNldHRpbmdzXDEwMDc1OFxNeSBE
b2N1bWVudHNcZGVza3RvcFxheGlzXGF4aXMyLTEuNC1zcmMuemlwIiANCld6VG9vbEJhcjo6Tm90
aWZ5SGFuZGxlcigpDQpXelRvb2xCYW5kOjpPblNpemUoKQ0KRXh0cmFjdGluZyB0byAiQzpcRG9j
dW1lbnRzIGFuZCBTZXR0aW5nc1wxMDA3NThcTXkgRG9jdW1lbnRzXGRlc2t0b3BcYXhpc1xheGlz
Mi0xLjQtc3JjXCINClVzZSBQYXRoOiB5ZXMgICBPdmVybGF5IEZpbGVzOiBubw0KV3pUb29sQmFu
ZDo6T25TaXplKCkNCld6VG9vbEJhcjo6Tm90aWZ5SGFuZGxlcigpDQpXelRvb2xCYXI6OlJlQ2Fs
Y0JhclNpemUoKQ0KV3pUb29sQmFuZDo6T25TaXplKCkNCmNsOg0KIkM6XERvY3VtZW50cyBhbmQg
U2V0dGluZ3NcMTAwNzU4XE15IERvY3VtZW50c1xkZXNrdG9wXGF4aXNcYXhpczItMS40LXNyYy56
aXAiIA0KV3pUb29sQmFyOjpOb3RpZnlIYW5kbGVyKCkNCld6VG9vbEJhbmQ6Ok9uU2l6ZSgpDQpF
eHRyYWN0aW5nIHRvICJDOlxEb2N1bWVudHMgYW5kIFNldHRpbmdzXDEwMDc1OFxNeSBEb2N1bWVu
dHNcZGVza3RvcFxheGlzXGF4aXMyLTEuNC1zcmNcIg0KVXNlIFBhdGg6IHllcyAgIE92ZXJsYXkg
RmlsZXM6IG5vDQpXelRvb2xCYW5kOjpPblNpemUoKQ0KV3pUb29sQmFyOjpOb3RpZnlIYW5kbGVy
KCkNCg==

--==ZSI_MIME_BOUNDARY

Re: JMXFront for Axis2

2008-08-21 Thread Deepal jayasinghe
Hi Chris,

Yes Chathura did a JMX configuration front-end for Axis2 as his GSoc
project. But I am not sure whether the code is . Even if we find the
code those code , those code should be outdated. Since we have not
integrate  those code with Axis2 , we did not get a chance to update
those code base when we do code changes to Axis2.

Thank you!
Deepal
> I've found reference to a JMX configuration management front-end for
> Axis2 as a GSoC 2005 project, but the wiki page
> (http://wiki.apache.org/ws/SummerOfCode/2005/JMXFront/) doesn't indicate
> what the final result of the project was.  Is this project
> partially-implemented in Axis2 1.3.x, or is it still in limbo somewhere?
>
>   


-- 
Thanks,
Deepal

http://blogs.deepal.org/


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



JMXFront for Axis2

2008-08-21 Thread Chris Rose
I've found reference to a JMX configuration management front-end for
Axis2 as a GSoC 2005 project, but the wiki page
(http://wiki.apache.org/ws/SummerOfCode/2005/JMXFront/) doesn't indicate
what the final result of the project was.  Is this project
partially-implemented in Axis2 1.3.x, or is it still in limbo somewhere?

-- 
Chris Rose
DeveloperPlanet Consulting Group
(780) 577-8433
[EMAIL PROTECTED]



signature.asc
Description: OpenPGP digital signature


Re: [Axis2] axis2 aar file gets deleted when restarting JBOSS

2008-08-21 Thread Elton Kong

Cool! It's all clear now, thanks! =D

Elton

Afkham Azeez wrote:



On Thu, Aug 21, 2008 at 2:16 AM, Elton Kong <[EMAIL PROTECTED] 
> wrote:


Hi, thanks for the response but for the 2 copy commands...


3. cp -r /home/elton/axis-1.4/WEB-INF/modules /home/elton/axis2-1.4
4. cp -r /home/elton/axis-1.4/WEB-INF/services /home/elton/axis2-1.4

Did you mean to put them in axis2-repo?


Yes, that is what it means.



Also after doing this can I simply remove the war file from my
deploy folder?
Thanks!


No you cannot delete it from the JBoss deploy directory. You need to 
keep both the axis2.war file in the deploy dir as well as the 
axis2-repo. If you do that, there will be no Axis2 webapp to be 
deployed. The Axi2 webapp contains the Web services engine + other 
stuff that know how to handle & process SOAP & REST requests. The 
Axis2 repo is the place where you deploy the Web services & Axis2 
modules you write. So,  Axis2 runs as a Web services container, within 
the JBoss servlet container. Is this clear now?




Elton

Afkham Azeez wrote:

1. Extract the axis2.war file
e.g. /home/elton/axis-1.4/

2. mkdir /home/elton/axis2-repo
3. cp -r /home/elton/axis-1.4/WEB-INF/modules
/home/elton/axis2-1.4
4. cp -r /home/elton/axis-1.4/WEB-INF/services
/home/elton/axis2-1.4
5. Start JBoss providing the System prop
-Daxis2.repo=/home/elton/axis2-1.4


On Wed, Aug 20, 2008 at 9:33 PM, Elton Kong <[EMAIL PROTECTED]
 >> wrote:

   Hi, thanks for the response but where is the axis2.repo? Is
that
   something I download and upload somewhere? I'm running this
on an
   AIX server btw, thanks!

   Afkham Azeez wrote:

   The default behavior of Axis2 & JBoss is to place the
service
   repository in the temp dir in which the war file is
extracted.
   To avoid this, you can specify the directory Axis2 needs to
   use as the repository by providing the axis2.repo
System property

   Azeez

   On Wed, Aug 20, 2008 at 11:26 AM, Elton Kong
<[EMAIL PROTECTED] 
   >


   
   
  "
   folder

  where application is
  just the name of my application. This is a copy of
the default
  config so
  you can think of it as that. Anywhew, I deployed the
latest
   axis2.war
  and got it working then uploading my .aar file and
that was
   fine but
  when I restart JBOSS it wipes everything clean. I
   understand that the
  axis2.war gets exploded into a tmp directory but is
there
   any way to
  install axis2 on JBOSS without this happening and for
   everything
  to stay
  there after a restart. Any help would be
appreciated, thanks!

  Elton


   
-

  To unsubscribe, e-mail:
[EMAIL PROTECTED]

   >
  
   >>

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

>
  
   >>





   --Thanks
   Afkham Azeez

   http://afkham.org
   http://www.wso2.org
   GPG Fingerprint: 643F C2AF EB78 F886 40C9 B2A2 4AE2
 

Re: RPC encoded wsdl example in axis2

2008-08-21 Thread Shovan Kanjilal
Datelin,
  Thanks for your detailed response. It's really helpful.
  I am new to these things; one newbie question comes to my mind.

  If I have a third party service which gives me RPC-encoded wsdl;
  does it mean I can't write axis2 client for that service and have to
choose some other
  webservice utility?

 Or I can change the wsdl to rpc/literal and create stub and be able
 to talk to the 3rd party service.

 Thanks for your patience.


On 8/21/08, Detelin Yordanov <[EMAIL PROTECTED]> wrote:
>
> Hi Shovan,
>   I think that Axis2 does not support rpc-encoded. It supports rpc-literal
> WSDLs, but converts them to doc-lit wrapped on deploy.
> However, we have found out that it is possible to deploy a service with
> rpc-encoded WSDL on Axis2 1.4.
> But you will need to write your own message receiver to do the
> serialization/deserialization of SOAP-enc types.
> You can create an aar containing the service and the rpc-encoded WSDL, and
> instruct Axis2 to return your WSDL when clients ask for it (using the
> "useOriginalwsdl" parameter in the services.xml).
>
> However, the tricky part is writing the message receiver which should be
> able to handle SOAP-encoding types and convert them to Java types (and vice
> versa).
>
> Regards,
> Detelin
>
> On Thu, Aug 21, 2008 at 5:49 PM, Shovan Kanjilal <
> [EMAIL PROTECTED]> wrote:
>
>> Can anybody point me to an example of rpc encoded sample wsdl and how stub
>> is generated
>> from that and an example client written?
>>
>> I see all the examples are document type?
>>
>> Does axis2 not support rpc-encoded?
>>
>
>


Re: RPC encoded wsdl example in axis2

2008-08-21 Thread Detelin Yordanov
Hi Shovan,
  I think that Axis2 does not support rpc-encoded. It supports rpc-literal
WSDLs, but converts them to doc-lit wrapped on deploy.
However, we have found out that it is possible to deploy a service with
rpc-encoded WSDL on Axis2 1.4.
But you will need to write your own message receiver to do the
serialization/deserialization of SOAP-enc types.
You can create an aar containing the service and the rpc-encoded WSDL, and
instruct Axis2 to return your WSDL when clients ask for it (using the
"useOriginalwsdl" parameter in the services.xml).

However, the tricky part is writing the message receiver which should be
able to handle SOAP-encoding types and convert them to Java types (and vice
versa).

Regards,
Detelin

On Thu, Aug 21, 2008 at 5:49 PM, Shovan Kanjilal
<[EMAIL PROTECTED]>wrote:

> Can anybody point me to an example of rpc encoded sample wsdl and how stub
> is generated
> from that and an example client written?
>
> I see all the examples are document type?
>
> Does axis2 not support rpc-encoded?
>


RPC encoded wsdl example in axis2

2008-08-21 Thread Shovan Kanjilal
Can anybody point me to an example of rpc encoded sample wsdl and how stub
is generated
from that and an example client written?

I see all the examples are document type?

Does axis2 not support rpc-encoded?


Re: Axis 1.3 integrated WebApp on WebSphere 5.1: DispatchPhase NoClassDefFound Exception

2008-08-21 Thread Afkham Azeez
These resources should help

http://wso2.org/library/2735
http://charithaka.blogspot.com/2008/07/how-to-deploy-apache-axis2-on-ibm.html

HTH
Azeez
http://wso2wsas.blogspot.com


On Thu, Aug 21, 2008 at 5:26 PM, Chris Miller <[EMAIL PROTECTED]>wrote:

> Hi everybody!
>
> We have integrated Axis2 1.3 into an existing Web Application which has to
> be deployed on an IBM WAS 5.1 (Java 1.4.2) running on an IBM AIX machine.
> Classloading is set to PARENT_LAST due to IBMs own qname.jar implementation.
> ClassLoaders are set to "many" (each application has its own classloader).
>
> Our problem is that each time we try to access Axis2 functionality in our
> web application - either the web interface (axis2-web) or a Web Service, an
> NoClassDefFound Exception is thrown and written to system out:
>
> java.lang.NoClassDefFoundError: org/apache/axis2/engine/DispatchPhase
>
> This drives me crazy because of three reasons:
>
> 1. I have taken everything from the Axis2 1.3 war distribution and put it
> in our existing application. Our application as well as the web services are
> running well on Tomcat 5.5 w/ JDK 1.4.2.
>
> 2. The more Java I do the more I am starting to dislike classpath issues. I
> looked up where class resides. org.apache.axis2.engine.DispatchPhase is
> located in axis2-kernel-1.3.jar which is located in WEB-INF/lib. The OS user
> which is running WAS has access rights to the file. So this file is there,
> it is in the classpath and it is accessible. But for some reasons I do not
> know it cannot be loaded.
>
> 3. I have also deployed the Axis2 1.3 web distribution as downloaded on the
> same machine and deployed a prototype Web Service afterwards. This
> application is running fine without any issues.
>
> Any Help Greatly Appreciated,
>
> Chris
>
> --
> Here is the stack trace:
>
> [8/19/08 16:57:01:578 CEST] 46dd2625 WebGroup  E SRVE0026E: [Servlet
> Error]-[AxisServlet]: java.lang.NoClassDefFoundError:
> org/apache/axis2/engine/DispatchPhase
>at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>at
>
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:80)
>at
>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java(Compiled
> Code))
>at
> java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled
> Code))
>at java.lang.Class.newInstance3(Class.java(Compiled Code))
>at java.lang.Class.newInstance(Class.java(Compiled Code))
>at
>
> org.apache.axis2.deployment.AxisConfigBuilder.getPhase(AxisConfigBuilder.java:638)
>at
>
> org.apache.axis2.deployment.AxisConfigBuilder.processPhaseList(AxisConfigBuilder.java:390)
>at
>
> org.apache.axis2.deployment.AxisConfigBuilder.processPhaseOrders(AxisConfigBuilder.java:433)
>at
>
> org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:133)
>at
>
> org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:615)
>at
>
> org.apache.axis2.deployment.WarBasedAxisConfigurator.(WarBasedAxisConfigurator.java:146)
>at
>
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:500)
>at
> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:420)
>at
>
> com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82)
>at
>
> com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
>at
>
> com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
>at
>
> com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
>at
>
> com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189)
>at javax.servlet.GenericServlet.init(GenericServlet.java:258)
>at
>
> com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:876)
>at
>
> com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224)
>at
>
> com.ibm.ws.webcontainer.webapp.WebAppServletManager.getServletReference(WebAppServletManager.java:455)
>at
> com.ibm.ws.webcontainer.webapp.WebApp.getServletReference(WebApp.java:733)
>at
>
> com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.calculateInfo(WebAppRequestDispatcherInfo.java:217)
>at
>
> com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.(WebAppRequestDispatcherInfo.java:88)
>at
>
> com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(WebApp.java:1579)
>at
>
> com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(WebApp.java:1538)
>at
>
> com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:311)
>at
>
> com.ibm.ws.webcontainer.cache.invocation.CachedInvocatio

Re: [Rampart] Creation of policy file based on policy included in WSDL

2008-08-21 Thread stlecho

In the axis2.xml file we're using we had defined the following:
"{Element}{http://schemas.xmlsoap.org/soap/envelope/}Body"
but we were required to change this and use
"{Element}{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Timestamp;Token;Body".

Is this coherent with the policy definition in the WSDL (extract shown
below) ?

  
  
http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512";>
  

  
  
http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512";>
  

  
http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512/IncludeToken/AlwaysToRecipient";>
  

  

  


  
http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512/IncludeToken/Never";>
  

  

  


  

  


  

  




  

http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200512";>
  


  

  



Nunny wrote:
> 
> Can you post the WSDL which contains the policies , so that we can see
> whether this is the correct Rampart configuration.
> 
> thanks,
> nandana
> 
> On Wed, Aug 20, 2008 at 1:05 PM, stlecho <[EMAIL PROTECTED]> wrote:
> 
>>
>> Hi Nandana,
>>
>> Currently, I'm using the axis2.xml file to engage the Rampart module.
>> Within
>> this axis2.xml file, I've configured the "InflowSecurity" and
>> "OutflowSecurity" parameters with
>> "Signature...".
>>
>> Will in this case the message be signed according to the policy defined
>> in
>> the WSDL ?
>>
>> Regards, Stefan Lecho.
>>
>>
>> Nunny wrote:
>> >
>> > Hi Stefan,
>> >How are you creating the client ? If you are using Axis2
>> code
>> > generation tools, the policy will be automatically injected to the
>> > generated
>> > stub. So you only need to provide Rampart specific configuration
>> details.
>> > Please look at the these two tutorials.
>> >
>> > http://www.wso2.org/library/3190#Securing_the_client
>> > http://www.wso2.org/library/3415#securing_the_client
>> >
>> > thanks,
>> > nandana
>> >
>> > On Mon, Aug 18, 2008 at 6:20 PM, stlecho <[EMAIL PROTECTED]> wrote:
>> >
>> >>
>> >> Hi,
>> >>
>> >> I'm developing a client for a webservice. The WSDL linked to this
>> >> webservice
>> >> contains a Policy description. Can I use this policy used as such with
>> >> Rampart or should it be fine-tuned ?
>> >>
>> >> Regards, Stefan Lecho.
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/-Rampart--Creation-of-policy-file-based-on-policy-included-in-WSDL-tp19031059p19031059.html
>> >> Sent from the Axis - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> -
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>> > --
>> > Nandana Mihindukulasooriya
>> > WSO2 inc.
>> >
>> > http://nandana83.blogspot.com/
>> > http://www.wso2.org
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/-Rampart--Creation-of-policy-file-based-on-policy-included-in-WSDL-tp19031059p19064273.html
>> Sent from the Axis - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> Nandana Mihindukulasooriya
> WSO2 inc.
> 
> http://nandana83.blogspot.com/
> http://www.wso2.org
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-Rampart--Creation-of-policy-file-based-on-policy-included-in-WSDL-tp19031059p19089227.html
Sent from the Axis - User mailing list archive at Nabble.com.


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



Axis2 REST client and server questions (Data bindings, Headers, Performance)

2008-08-21 Thread Nick Steel

Hi,

I've recently started looking at using the REST support in Axis2 to invoke
my web service instead of the currently used SOAP calls and I have a number
of issues I can't work out for myself.  Any help with these would be great. 
I've been using Axis2 version 1.3 (and then also tried 1.4 in the hope my
issues would be solved) and tcpmon to monitor the traffic between my test
client and my service running locally on tomcat at
http://localhost:8080/NicksGigs-war-Axis2/services/GigListingsService.  The
WSDL is created using java2wsdl and is attached.

I've read in another (old) post here that Axis2 is just a soap stack and any
incoming rest style messages are converted into soap messages first so that
they can then be processed. Is this still the case? Does this have a
performance hit? Is there anything in the documentation about this?


I'm using (unwrapped) ADB bindings generated by wsdl2java for my test
client, to use the rest style web calls with the bindings is it simply a
case of adding the line of code below into my client?
options.setProperty(Constants.Configuration.ENABLE_REST,
Constants.VALUE_TRUE);
I want to clarify this since all the examples I have seen do not use
bindings.


Is it possible to use both POST and GET when my operation parameters are all
simple types?  To change between the two transports is it simply a case of 
options.setProperty(Constants.Configuration.HTTP_METHOD, HTTP_METHOD_GET);
Or 
options.setProperty(Constants.Configuration.HTTP_METHOD, HTTP_METHOD_POST);
?


I've found that I can use POST with operations that have parameters but not
on those without parameters.  For example, a call to getGigsIn("London")
using HTTP_POST makes the following successful request:  
POST /NicksGigs-war-Axis2/services/GigListingsService HTTP/1.1
Content-Type: application/xml; charset=UTF-8
SOAPAction: urn:getGigsIn
User-Agent: Axis2
Content-Length: 115

http://NicksGigs.nsteel.qis.qualcomm.com";>London

But a call to getMostActiveArtist() makes the following unsuccessful
request:
POST /NicksGigs-war-Axis2/services/GigListingsService HTTP/1.1
Content-Type: application/xml; charset=UTF-8
SOAPAction: urn:getMostActiveArtist
User-Agent: Axis2
Content-Length: 0

with received error:
The endpoint reference (EPR) for the Operation not found is
/NicksGigs-war-Axis2/services/GigListingsService and the WSA Action =
null

Why doesn't this work??


After setting the HTTP_METHOD to HTTP_GET I am unable to make any successful
calls to my service.  getGigsIn("London") gives:
GET /NicksGigs-war-Axis2/services/GigListingsService?param0=London HTTP/1.1
Content-Type: application/x-www-form-urlencoded;
charset=UTF-8;action="urn:getGigsIn";
SOAPAction: urn:getGigsIn
User-Agent: Axis2

http://www.w3.org/2003/05/soap-envelope";>The endpoint reference (EPR) for the Operation not found is
/NicksGigs-war-Axis2/services/GigListingsService and the WSA Action =
null

while getMostActiveArtist() gives:
GET /NicksGigs-war-Axis2/services/GigListingsService HTTP/1.1
Content-Type: application/x-www-form-urlencoded;
charset=UTF-8;action="urn:getMostActiveArtist";
SOAPAction: urn:getMostActiveArtist
User-Agent: Axis2

And the same error response. 

Shouldn't the bindings be appending the operation name onto the end of the
endpoint for me?  If I explicitly set the endpoint to
http://localhost:8080/NicksGigs-war-Axis2/services/GigListingsService/getGigsIn
it makes the following request:
GET /NicksGigs-war-Axis2/services/GigListingsService/getGigsIn?param0=London
HTTP/1.1
Content-Type: application/x-www-form-urlencoded;
charset=UTF-8;action="urn:getGigsIn";
SOAPAction: urn:getGigsIn
User-Agent: Axis2

Which still gives an error, but this time:
http://www.w3.org/2003/05/soap-envelope";>Exception occurred while trying to invoke service method
getGigsIn

If I simply go to
http://localhost:8080/NicksGigs-war-Axis2/services/GigListingsService/getGigsIn?city=London
in my browser I get the correct response.

For me, one of the advantages of the generated bindings is not having to
worry about the contents of the WSDL; I shouldn’t have to know that the WSDL
says I must specify the "city" parameter in my query string for the
getGigsIn operation. Why are my ADB bindings setting "param0" instead?


Finally, the documentation specifies that Axis2 determines if an incoming
message is REST or SOAP by checking if "the content type is text/xml and if
the SOAPAction Header is missing".  If you examine the requests the
following headers are present for each method.
HTTP_GET: Both SOAPAction and "action" in Content-Type
HTTP_POST: Just SOAPAction
SOAP: Just "action" in Content-Type

What is going on here, are these the correct headers? And what is the
"SOAPAction Header", is it "SOAPAction" or is it "action" in Content-Type!? 
I also found that when using POST I can even remove the SOAPAction header
but providing I ensure the Content-Type still contains “application/xml” I
will still receive the correct (non-soap) response from the service. 


I’m a

Re: Axis2 and Spring 2.5

2008-08-21 Thread Jens Goldhammer

Thanks,
I will give it a try.

Jens


iksrazal wrote:
> 
> axis2 1.4 doesn't have jars from the spring framswork in the release.
> One of the axis2 jars has a reference to a few spring interfaces -
> whose signature has been constant since spring 1.0 . Anyways, just put
> what springframwork jars  you need in WEB-INF/lib . I'd be suprised if
> there is a problem.
> 
> HTH,
> Robert
> 
> On Thu, Aug 21, 2008 at 7:02 AM, Jens Goldhammer
> <[EMAIL PROTECTED]> wrote:
>>
>> Hello,
>>
>> I have a axis2 web service which have to use Spring 2.5. How can I avoid
>> that these jars are conflicting with the one which are delivered with
>> Axis2?
>>
>> Thanks,
>> Jens
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Axis2-and-Spring-2.5-tp19085761p19085761.html
>> Sent from the Axis - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Axis2-and-Spring-2.5-tp19085761p19087475.html
Sent from the Axis - User mailing list archive at Nabble.com.


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



Axis 1.3 integrated WebApp on WebSphere 5.1: DispatchPhase NoClassDefFound Exception

2008-08-21 Thread Chris Miller
Hi everybody!

We have integrated Axis2 1.3 into an existing Web Application which has to be 
deployed on an IBM WAS 5.1 (Java 1.4.2) running on an IBM AIX machine. 
Classloading is set to PARENT_LAST due to IBMs own qname.jar implementation. 
ClassLoaders are set to "many" (each application has its own classloader).

Our problem is that each time we try to access Axis2 functionality in our web 
application - either the web interface (axis2-web) or a Web Service, an 
NoClassDefFound Exception is thrown and written to system out:

java.lang.NoClassDefFoundError: org/apache/axis2/engine/DispatchPhase

This drives me crazy because of three reasons:

1. I have taken everything from the Axis2 1.3 war distribution and put it in 
our existing application. Our application as well as the web services are 
running well on Tomcat 5.5 w/ JDK 1.4.2.

2. The more Java I do the more I am starting to dislike classpath issues. I 
looked up where class resides. org.apache.axis2.engine.DispatchPhase is located 
in axis2-kernel-1.3.jar which is located in WEB-INF/lib. The OS user which is 
running WAS has access rights to the file. So this file is there, it is in the 
classpath and it is accessible. But for some reasons I do not know it cannot be 
loaded.

3. I have also deployed the Axis2 1.3 web distribution as downloaded on the 
same machine and deployed a prototype Web Service afterwards. This application 
is running fine without any issues.

Any Help Greatly Appreciated,

Chris

--
Here is the stack trace:

[8/19/08 16:57:01:578 CEST] 46dd2625 WebGroup  E SRVE0026E: [Servlet
Error]-[AxisServlet]: java.lang.NoClassDefFoundError:
org/apache/axis2/engine/DispatchPhase
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:80)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java(Compiled
Code))
at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled
Code))
at java.lang.Class.newInstance3(Class.java(Compiled Code))
at java.lang.Class.newInstance(Class.java(Compiled Code))
at
org.apache.axis2.deployment.AxisConfigBuilder.getPhase(AxisConfigBuilder.java:638)
at
org.apache.axis2.deployment.AxisConfigBuilder.processPhaseList(AxisConfigBuilder.java:390)
at
org.apache.axis2.deployment.AxisConfigBuilder.processPhaseOrders(AxisConfigBuilder.java:433)
at
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:133)
at
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:615)
at
org.apache.axis2.deployment.WarBasedAxisConfigurator.(WarBasedAxisConfigurator.java:146)
at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:500)
at 
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:420)
at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82)
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147)
at
com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270)
at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113)
at
com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppServletManager.java:876)
at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:224)
at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.getServletReference(WebAppServletManager.java:455)
at
com.ibm.ws.webcontainer.webapp.WebApp.getServletReference(WebApp.java:733)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.calculateInfo(WebAppRequestDispatcherInfo.java:217)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.(WebAppRequestDispatcherInfo.java:88)
at
com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(WebApp.java:1579)
at
com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(WebApp.java:1538)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:311)
at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:246)
at
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:652)
   

Re: Axis2 and Spring 2.5

2008-08-21 Thread robert lazarski
axis2 1.4 doesn't have jars from the spring framswork in the release.
One of the axis2 jars has a reference to a few spring interfaces -
whose signature has been constant since spring 1.0 . Anyways, just put
what springframwork jars  you need in WEB-INF/lib . I'd be suprised if
there is a problem.

HTH,
Robert

On Thu, Aug 21, 2008 at 7:02 AM, Jens Goldhammer
<[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have a axis2 web service which have to use Spring 2.5. How can I avoid
> that these jars are conflicting with the one which are delivered with Axis2?
>
> Thanks,
> Jens
>
> --
> View this message in context: 
> http://www.nabble.com/Axis2-and-Spring-2.5-tp19085761p19085761.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



Connecting to a SOAP service through Proxy

2008-08-21 Thread Sandeep Kumar K
How to connect to a SOAP service through proxy?. Does it supports NTLM 
authentication?.


*-- 
Thanks & Regards

Sandeep Kumar K
Sr. Software Engineer
Geneva Software Technologies Limited,
# 82, Research Center II, I floor, EPIPA
Nallurhalli, Whitefield, Bangalore - 560066
Mob  :  +91-9880193454*



Axis2 and Spring 2.5

2008-08-21 Thread Jens Goldhammer

Hello,

I have a axis2 web service which have to use Spring 2.5. How can I avoid
that these jars are conflicting with the one which are delivered with Axis2?

Thanks,
Jens

-- 
View this message in context: 
http://www.nabble.com/Axis2-and-Spring-2.5-tp19085761p19085761.html
Sent from the Axis - User mailing list archive at Nabble.com.


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



Problem using NTLM authentication

2008-08-21 Thread Rajat Bhushan




Hi.

    I am trying to access a .NET web service which expects NTLM
credentials. I am using the code given below but it is not working.
Actually I am getting a pop-up asking me for the credentials. I don't
want that to happen. I want to provide the credentials in the code
itself. Can some one please point out what is going wrong or help me
with how to do this.

    Options options = new Options();
    options.setAction(NAMESPACEProject+"ReadProject");
    options.setTo(targetUrl);
    
    Header hdr1 = new Header("PjAuth",contextString);
    ArrayList hdrs = new ArrayList();
    hdrs.add(hdr1);
    
    HttpTransportProperties.Authenticator auth = new
HttpTransportProperties.Authenticator();
    auth.setDomain("ST-IDC");
    auth.setUsername("rabhusha");
    auth.setPassword("123456");
        auth.setHost("RABHUSHA");

    options.setProperty(HTTPConstants.AUTHENTICATE,auth);
 
    options.setProperty(HTTPConstants.HTTP_HEADERS,hdrs);
    client.setOptions(options);

    OMElement res = client.sendReceive(readProjectInfo);


Thanks & Regards,
Rajat Bhushan



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