Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!

Pritesha Agrawala

Greenhorn
+ Follow
since Mar 28, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Pritesha Agrawala

Hello,

I am facing with some integration of web service with the web application.

First I am just explaining architecture of my application:
We have a web application that is running over a Tomcat web server. It has some basic set of operations like insert, search, edit and delete of employee. Now we need to expose those operations as a web service to client. So client can perform those operation from command prompt(run as a script file).

We are using AXIS2 to host those web services.

For that I already write down my request and Response XSD. Also I created WSDL files. by using WSDL2java tool I generated my skeleton's.
Now the problem is:
My skeleton needs to communicate with the code that is written in the web application. So how I can do it?
Means either I used that code as a jar file in service achive file(.aar) and use it. But in this case I am just duplicating my code.Do we have some other alternative in Java?
My problem in simple words how and service archive file(.aar) can communicate with the web archive file(.war) in some web server instance that is running in same JVM.

please if possible then give some time to this problem and help me out.
I am using Axis2.
10 years ago
Hello EveryOne,

I am new to Web services. I created Web service that is working fine without SOAP header. Now i want to include Header. How i can do it. Please if possible then give me sample WSDL file and Code of it.
10 years ago
Hello,


I have an web application that is working on tomcat application server (tomcat_home/web application/sponsor.war folder). That web application have different set of operations. I created "WSDL" , "XSD's" for all those operation. I generated code for that using the wsdl2java code generator. Now my skeleton need (Web service code) has to talk with the business logic. That business logic is in war archive.

How i can do it. What is best way to do it.

Please let me know if you guys have difficulty in understanding the situation.

thanks,
10 years ago
Hello,

We have soap Toolkit for testing in Windows env for any web servivce.

Do we have some tool for non windows env. I am working on MAC os 10

Please any one have idea then let me know
10 years ago
Hello,

Which are the element of defination tag of WSDL file.

Can i declare variable apart from
type, portType, message, binding and service.

like my own custom type.