Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

no SOAPAction header! with Axis and iPlanet 6.5

843834Jun 10 2003 — edited Feb 12 2008
I have installed axis 1_1_RC1 on my iPlanet 6.5. I have realized the tests detailed in the installation guide and all tests works correctly, except when i execute the admin client program.

I get this problem when i try to run the admin client:

AxisFault
faultCode: {http://xml.apache.org/axis/}Client.NoSOAPAction
faultSubcode:
faultString: no SOAPAction header!
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: AxisFault
faultCode: {http://xml.apache.org/axis/}Client.NoSOAPAction
faultSubcode:
faultString: no SOAPAction header!
faultActor:
faultNode:
faultDetail:

no SOAPAction header!
at org.apache.axis.transport.http.AxisServlet.getSoapAction(AxisServlet.
java:1117)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:83
5)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBas
e.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
Source)
at com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
wn Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.thread.ThreadBasic.run(Native Method)
at java.lang.Thread.run(Thread.java:484)


no SOAPAction header!
at org.apache.axis.transport.http.AxisServlet.getSoapAction(AxisServlet.
java:1117)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:83
5)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBas
e.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
Source)
at com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
wn Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.thread.ThreadBasic.run(Native Method)
at java.lang.Thread.run(Thread.java:484)


I don�t know what can i do, i?m new with WS and i need all so much as posible.


Thanx!!

Comments

843834
I think there is a bug in Axis on the client side - the SOAPAction header is omitted. Try using the equivalent jar files from the Sun WSDP on the client side.
843834
Yeah, Axis requires a SOAPAction header, but ignores it!?

Try this in your client code:

call.setProperty( Call.SOAPACTION_USE_PROPERTY, new Boolean( true ) );
call.setProperty( Call.SOAPACTION_URI_PROPERTY, "<your_soap_action_uri>");

- Phil
843834
Taken from the axis user mailing list:

iPlanet 6 strips out custom HTTP headers... The AxisServlet uses
custom headers. Solution: Add a HTTP variable to the iAS registry and allow
it to be passed through.

1. Open the iPlanet Registry Editor using kregedit at the command line.
2. Open the following key:
For iPlanet web servers, open the following key:
SOFTWARE\iPlanet\Application Server\6.0\CCSO\HTTPAPI\INPUTNSAPI

Each value name shown represents an HTTP variable. The value determines
whether the HTTP variable is passed to iPlanet Application Server
with the application request. If the name's value is non-zero, the
HTTP variable is passed to the iPlanet Application Server machine
with the application request.

3. Add SOAPAction as a new variable with the value set to 1 (0 block
the pass through - 1 enables)
4. Click OK.
5. Close the editor. You need to restart the Web Server for the changes
to take effect.
843833
Thanks to pzampino. His 2 additional lines of code fixed it for me!
1 - 4
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 11 2008
Added on Jun 10 2003
4 comments
714 views