Ashutosh Shahi

Ranch Hand
+ Follow
since Feb 06, 2005
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
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by Ashutosh Shahi

Since you are already using JAXWS, you can use WSIT to secure your messages. Check out https://wsit.dev.java.net/
10 years ago
Hi Saravana,
You need to add <your jwsdp local path>/jaxp/lib/endorsed/xercesImpl.jar in your CLASSPATH. That should solve the problem.
11 years ago
Not sure about Apache axis, but such a problem existed in Sun's implementation of saaj and has been resolved, See: https://saaj.dev.java.net/issues/show_bug.cgi?id=8
11 years ago
I think JAX-WS should certainly be the way to go ... JWSDP 2.0 supports JAX-WS; additionally you can also try WSIT for other new WS-* features along with JAX-WS.
Axis 1.x does not support JAX-WS and I think will not support. Axis2 is currently planning to support JAX-WS, but I am not sure of the current state of development. You can get more info frm axis mailing list
11 years ago
Did u see if the service at xmethods is doc/lit or rpc/encoded? Axis call() method puts rpc/encoded by default, so if the service is doc/lit, u'll have to set style n use to document literal.
-Ashutosh
12 years ago
Amit,
I don't have a link, but I have confirmed it. And its pretty logical stuff to do, coz ur webservice can be anywhere in world, and can be accessed from anywhere, so obviously it can't assume what timezone is used rather than using something standard. If its not doing that, then the webservice has a bug.
Ashutosh
12 years ago
Narayan,
You can start by looking at http://ws.apache.org/axis/java/index.html . Basically, you'll have to write a client code to acees the .NET webservice. The userguide on axis website should be a good place to help you.

Ashutosh
12 years ago
Henry,
Axis 1.2 very much works with JDK 1.4. Guess your problem is with typemapping. Axis 1.1 puts typemapping as 1.1 by default and in Axis 1.2, the default is 1.2, though the doc still stays 1.1.

Try giving --typeMappingVersion 1.1 to WSDL2Java and see if it helps.

Ashutosh
12 years ago
Yep,
dateTime is always sent in GMT Timezone over the wire

Once you receive the dateTime in a java.util.Calendar, doing:
calendar.setTimeZone(java.util.TimeZone.getDefault());
gives back the date to u according to your current localization settings.

Ashutosh
12 years ago
This I think has been a known issue and has been fixed in Axis 1.2. You can check out: http://issues.apache.org/jira/browse/AXIS-1598
The 1.2 release should be final anytime now so you can move to 1.2 I guess.

Ashutosh
12 years ago
Excellent place to both learn and contribute on webservices will be the Apache Axis mailing lists and the Axis website.
Check out:
axis-user@ws.apache.org - For axis users
axis-dev@ws.apache.org - For axis developers
http://ws.apache.org/axis/java/index.html - The Axis Java website

Ashutosh
12 years ago
Well, I'll try to explain them and see if it helps:
1. JAX-RPC enables Java developers to
develop SOAP based interoperable web services. Its provides a way so that u can call services on other machines like RPC does.Its just a specification and an API and doesn't provide any implementation. Vendors are supposed to provide their own implementation.
2. SAAJ provides a way of creating SOAP envelopes (w or w/o attachments) which can be then sent across any transport. Jax-Rpc uses soap envelopes created by SAAJ. Again it is a specification and provides APIs but no implementation.
3. Apache-Axis is open source soap engine and provides implementation of both Jax-Rpc and Saaj. Its 1.2 version is going to be released sometime in coming weeks.
4. Apache SOAP is again a soap engine, Axis has evolved from apache soap and not much development goes in apache soap, so if u r starting new begin with Axis.
5. Not too sure about Sun's toolkit. Guess its just a reference implementation of the standards.
Ashutosh
12 years ago