• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

getting exception while invoking service frm client on another system

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all...

i have built a web service using axis..and deployed it on a machine. now i created a client using both jdeveloper and axis but i keep getting exceptions.

On the local system it works fine but as soon as i try to call it frm a client on other system.. which has generated the code using the same wsdl..it keeps throwin exceptions.

In JDeveloper it throws the following exception:

java.rmi.RemoteException: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: HTTPClient.AuthSchemeNotImplException: Negotiate; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: HTTPClient.AuthSchemeNotImplException: Negotiate
at mypackage.runtime.SyncTradeLicenseSoapBinding_Stub.syncTradeLicense(SyncTradeLicenseSoapBinding_Stub.java:91)
at mypackage.SyncTradeLicenseClient.syncTradeLicense(SyncTradeLicenseClient.java:41)
at mypackage.Test1.main(Test1.java:32)
Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: HTTPClient.AuthSchemeNotImplException: Negotiate
at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:93)
at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:89)
at oracle.j2ee.ws.client.ClientTransportException.<init>(ClientTransportException.java:33)
at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:131)
at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:112)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:166)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:108)
at mypackage.runtime.SyncTradeLicenseSoapBinding_Stub.syncTradeLicense(SyncTradeLicenseSoapBinding_Stub.java:75)
... 2 more


plz help!!!
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Potentially you need to provide authentication with a remote request by setting the following properties:
javax.xml.rpc.security.auth.username
javax.xml.rpc.security.auth.password

In a Java client you have to do it manually:


In a J2EE client the container should be set up to do it for you.

A proxy can also cause problems and the solution tends to be vendor specific, e.g.:

AxisProperties.setProperty("http.proxyHost", "123.123.123.123");
AxisProperties.setProperty("http.proxyPort", "1234");
AxisProperties.setProperty("http.proxyUser", "username");
AxisProperties.setProperty("http.proxyPassword", "password");

Client Side Axis
 
Mohit Goyal
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
prob resolved..
thanx.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I know this is old post but I could not find one that suits more

I'm trying to use web services, created in java, in asp.net application. Can anybody help me how to send authentication information and how to find out what is user name and password?!?!!
 
What's a year in metric? Do you know this metric stuff tiny ad?
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic