kannan Chocku

Greenhorn
+ Follow
since Mar 13, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by kannan Chocku

Hi friends,

Intro about me: I have 2 years trainer experience(In India) and 7 years of experience in development(both in India & USA). I had a request to join in company as a java trainer.

They asked me to let them know the modules that I will be providing training, Duration and asked how much will I charge for each individual course.

As I have never been a trainer in USA, its hard for me to ask for the pay, Please provide the details of salary/rate.

Course that I'm comfortable with:

Core Java
Java XML
Servlet
JSP
Junit
JSF
Struts
Hibernate
SOAP web service
REST web service
Twitter4J tweet using Java
SQL
PL/SQL


Please suggest me on this:
1.Hourly rate?
2. monthly salary?

Note: I'm in Chicago

11 years ago
It worked

Answer to those doubts:
For consuming you need not edit skeleton file. Skeleton is a server side copy

For consuming, client file has to be created. Create an object for stub class & process the request as required to get the response
11 years ago
I'm new to web services.
I got a wsdl url. I'm trying to consume web service using wsdl. So I understand this is Top-Down web service.
I use soap protocol
Please tell me what are the steps to consume a web service with having only wsdl in hand

I use Axis to consume (As per my project I have to use Axis).
%AXIS2_HOME%\bin\WSDL2Java -uri XYZ.wsdl -d adb -s -ss -sd -ssi -o service

Doubt:
1. Since I just consume the web service I believe I do not want to edit the auto generated skeleton. Am I right?
2. I just created the client file & send the request as needed.

Am I missing any step?

Please help me to understand this
11 years ago
Hi,

I must use Axis2 for this project.
Using AXis2, Apache tomcat
I have WSDL -I'm trying to consume the web service through this existing WSDL

1. Created the components for WSDL file with the command %AXIS2_HOME%\bin\WSDL2Java -uri XXX.wsdl -d adb -s -ss -sd -ssi -o service
2. Edited the service implementation file with actual b.logic which was auto generated.
3. Then archive file is built
4. Deployed aar file in Axis2
5. http://localhost:8080/axis2. works & when I click on my service I could see the WSDL- So I confirm that web service is completely deployed & ready for service
6. Web service Invocation - For generating client
%AXIS2_HOME%\bin\WSDL2Java -uri xxx.wsdl -d adb –o client
7. services.xml & services.wsdl are auto generated in service/resource folder. But I did not know how to use them further

My problem is I dint know how to check my web service operation.

I did not know how to check whether my web service works or not

Please help me ASAP
11 years ago
Thanks for your reply Himai,

But I think I din't project my issue exactly.

I'm using Top down approach(So WSDL is already present I'm using the existing WSDL to consume their services)- Trying to consume web services from wsdl

When I use wsimport -keep -verbose http://.....?wsdl
Some of the java files which includes interface & service implementation file are generated

Then I manually created a client class based on generated service implementation

When I read my WSDL, I came to know that response is through complex type with complex type in turn- But My problem is when wsimport generated some automatic files-It did not generate some schema type classes
So I'm not able to generate the response

Please reply me back
11 years ago
Hi,

I'm new to web services. I have got wsdl url.

1. I used > wsimport -keep -verbose http://....?wsdl
2. It generate java classes, interface & service Implementation class which extends service
3. I created the web service client class in which I acess the getXXXport() in serviceImplementation class to call the remote method
4. I also created interfaceImplementation class(Is this right??? In this class I implemented the interface(which is auto generated))

Problem is that I couldn't see some particular schema type java class which is present in wsdl
without that schema type class I wont be able to build the response

Please guide me if I'm wrong in these steps & also point out why I couldn't see schema type java file when I use wsimport
11 years ago
Hi,

I'm new to web services. I have got wsdl url.

1. I used > wsimport -keep -verbose http://....?wsdl
2. It generate java classes, interface & service Implementation class which extends service
3. I created the web service client class in which I acess the getXXXport() in serviceImplementation class to call the remote method
4. I also created interfaceImplementation class(Is this right??? In this class I implemented the interface(which is auto generated))

Problem is that I couldn't see some particular schema type java class which is present in wsdl
without that schema type class I wont be able to build the response

Please guide me if I'm wrong in these steps & also point out why I couldn't see schema type java file when I use wsimport

11 years ago