javax.xml.ws.soap.SOAPFaultException: Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN"> <HTML> <HEAD> <TITLE>Error 401--Unauthorized</TITLE> </HEAD> <BODY bgcolor="white"> <FONT FACE=Helvetica><BR CLEAR=all> <TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all> <FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error 401--Unauthorized</H2> </FONT></TD></TR> </TABLE> <TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100% BGCOLOR=white><FONT FACE="Courier New"><FONT FACE="Helvetica" SIZE="3"><H3>From RFC 2068 <i>Hypertext Transfer Protocol -- HTTP/1.1</i>:</H3> </FONT><FONT FACE="Helvetica" SIZE="3"><H4>10.4.2 401 Unauthorized</H4> </FONT><P><FONT FACE="Courier New">The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.</FONT></P> </FONT></TD></TR> </TABLE> </BODY> </HTML>

Oracle Community | manjeetsd | 2 years ago
  1. 0

    Endeca Studio connection to Provisioning broken - was previously functional - strange HTTP header issue

    Oracle Community | 2 years ago | manjeetsd
    javax.xml.ws.soap.SOAPFaultException: Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN"> <HTML> <HEAD> <TITLE>Error 401--Unauthorized</TITLE> </HEAD> <BODY bgcolor="white"> <FONT FACE=Helvetica><BR CLEAR=all> <TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all> <FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error 401--Unauthorized</H2> </FONT></TD></TR> </TABLE> <TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100% BGCOLOR=white><FONT FACE="Courier New"><FONT FACE="Helvetica" SIZE="3"><H3>From RFC 2068 <i>Hypertext Transfer Protocol -- HTTP/1.1</i>:</H3> </FONT><FONT FACE="Helvetica" SIZE="3"><H4>10.4.2 401 Unauthorized</H4> </FONT><P><FONT FACE="Courier New">The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.</FONT></P> </FONT></TD></TR> </TABLE> </BODY> </HTML>
  2. 0

    vidyasagar | Just another WordPress.com weblog

    wordpress.com | 1 year ago
    javax.xml.ws.soap.SOAPFaultException: Response was of unexpected text/html ContentType.  Incoming portion of HTML stream: (none)
  3. 0

    How do I get the RAW message with a jax-ws client?

    Stack Overflow | 1 year ago | CMfly
    javax.xml.ws.soap.SOAPFaultException: Response was of unexpected text/html ContentType. Incoming portion of HTML stream: System.ArgumentException: Chunked encoding must be set via the SendChunked property. Parameter name: value at System.Net.HttpWebRequest.set_TransferEncoding(String value) at MultiversionRouter.Routers.BaseRequestRouter.RouteRequest(HttpContext app, AsyncCallback callback, WebResponse& errorResponse) at MultiversionRouter.RouteProviderHandler.beginRequest(Object sender, EventArgs e, AsyncCallback callback, Object state)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    【webservice】org.apache.cxf.interceptor.Fault: Unexpected wrapper element {http://webservice.index. - 天书夜读 - 博客频道 - CSDN.NET

    csdn.net | 1 year ago
    javax.xml.ws.soap.SOAPFaultException: Unexpected wrapper element {http://webservice.index.fhi.com/}sayHelloResponse found.   Expected {http://vo.webservice.user.fhi.com/}sayHelloResponse.
  6. 0

    【webservice】org.apache.cxf.interceptor.Fault: Unexpected wrapper element {http://webservice.index. - 天书夜读 - 博客频道 - CSDN.NET

    csdn.net | 11 months ago
    javax.xml.ws.soap.SOAPFaultException: Unexpected wrapper element {http://webservice.index.fhi.com/}sayHelloResponse found.   Expected {http://vo.webservice.user.fhi.com/}sayHelloResponse.

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.cxf.interceptor.Fault

      Response was of unexpected text/html ContentType. Incoming portion of HTML stream: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN"> <HTML> <HEAD> <TITLE>Error 401--Unauthorized</TITLE> </HEAD> <BODY bgcolor="white"> <FONT FACE=Helvetica><BR CLEAR=all> <TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all> <FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error 401--Unauthorized</H2> </FONT></TD></TR> </TABLE> <TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100% BGCOLOR=white><FONT FACE="Courier New"><FONT FACE="Helvetica" SIZE="3"><H3>From RFC 2068 <i>Hypertext Transfer Protocol -- HTTP/1.1</i>:</H3> </FONT><FONT FACE="Helvetica" SIZE="3"><H4>10.4.2 401 Unauthorized</H4> </FONT><P><FONT FACE="Courier New">The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.</FONT></P> </FONT></TD></TR> </TABLE> </BODY> </HTML>

      at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage()
    2. Apache CXF Core
      ClientImpl.onMessage
      1. org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:79)
      2. org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
      3. org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:700)
      3 frames
    3. Apache CXF Runtime HTTP Transport
      HTTPConduit$WrappedOutputStream.close
      1. org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2261)
      2. org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2134)
      3. org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1988)
      3 frames
    4. Apache CXF Core
      AbstractConduit.close
      1. org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
      1 frame
    5. Apache CXF Runtime HTTP Transport
      HTTPConduit.close
      1. org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:639)
      1 frame
    6. Apache CXF Core
      ClientImpl.invoke
      1. org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
      2. org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
      3. org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:487)
      4. org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)
      5. org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265)
      5 frames
    7. Apache CXF Runtime Simple Frontend
      ClientProxy.invokeSync
      1. org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
      1 frame
    8. Apache CXF Runtime JAX-WS Frontend
      JaxWsClientProxy.invoke
      1. org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)
      1 frame