W dniu 2013-09-11 10:03, Stadelmann Josef pisze:
Did you manage to build run and understand the simple axis2 samples?
Are they running?

No and yes. I didn't build samples but I think I understand them.

Is the axis2 happyness page at
  http://integ1:8080/axis2/axis2-web/HappyAxis.jsp
   showing proper information?

Can you see your deployed service using
   http://integ1:8080/axis2/services/listServices ?

That's the thing. I do not want to build service. I just want to use (consume) remote SOAP service from inside already running web application. All I need Axis2 to do for me is take my POJ convert to to SOAP, send, receive, convert back. Without setting up listening services, without Axis2 admin page etc. I used SOAP in other languages so I know how SOAP works. It's just I need to do it in JavaEE. I tried to use Apache CXF first but unfortunately SOAP service I have to use (and have no control over) uses wrong type of message encapsulating (the old unsupported one). So I turned to Axis2.

how is your solution packaged?
what and where did you deploy your solution to /tomcat_home/webapps?
I intended to not use Axis2 as a separate WAR. I try to compile it together with the rest of my code to single WAR. So far I can see Axis2 libraries included in my compiled WAR together with other libraries.

given your solution is packaged in mysolution.war,
  can you see a directory /tomcat_home/webapps/mysolution ?
Yes.
given your solution is packaged in mysolution.aar,
  can you see a directory /tomcat_home/webapps/axis2/web-inf/services
   containing mysolution.aar?
No.
Is the service.xml provided and deployed properly?

Probably not. Because I did not setup one yet. All I did is I included dependencies for Maven and one Axis2-generated java class in my working web app and after that my web app stopped working. This web app is unrelated to Axis2. By unrelated I mean it does some stuff for user already and it's working. It's just I need to use SOAP to use external service in the background.

I didn't configure Axis2 in any other way. That's why my question is about default behaviour of Axis2.

Once again (because it probably wasn't clear in my first post): I need fast, simple and lightweight way to use existing remote SOAP service. Just send some messages and get some response. No running services, no Axis admin pages, no hassle.

I have read a lot of documentation from Axis2 page and from other sources. Unfortunately it looks like my needs are not that popular. Most of docs are for people needing standalone desktop app consuming SOAP or for apps running in containers but also exposing services. And I need something in between.

Thanks for your answer. Sorry about my English, I am not a native speaker.

Marcin.

--
Clockwork Bits Software Marcin Wieczorek
http://clockwork-bits.pl/
REGON: 100800499, NIP: 7281735575
Łódź 93-363, ul. Osobliwa 6


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to