axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell J. Nile (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-1721) Invalid content type on request
Date Thu, 14 Dec 2006 23:58:23 GMT
    [ http://issues.apache.org/jira/browse/AXIS2-1721?page=comments#action_12458644 ] 
            
Russell J. Nile commented on AXIS2-1721:
----------------------------------------

Jira,

As it turns out my problem had to do with some redundant jar files with
obsolete classes.  Ensure there is just version 1.1 jar files in your
classpath.

Russell



> Invalid content type on request
> -------------------------------
>
>                 Key: AXIS2-1721
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1721
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.1
>            Reporter: Russell J. Nile
>
> I'm not sure if this is a bug but I am receiving a remote exception indicating:
> org.apache.axis2.AxisFault: Content type should be one of /n text/xml/n application/x-www-form-urlencoded/n
multipart/related; nested exception is: 
> 	org.apache.axis2.AxisFault: Content type should be one of /n text/xml/n application/x-www-form-urlencoded/n
multipart/related
> the content-type set on the request is set to "application/soap+xml"
>  >> "POST /O2CServiceContainer/services/EventRecorder HTTP/1.1[\r][\n]"
> =,2006-11-16, 07:34:44:715, [main], Adding Host request header
> =,2006-11-16, 07:34:44:730, [main], >> "User-Agent: Axis2[\r][\n]"
> =,2006-11-16, 07:34:44:730, [main], >> "Host: localhost:9080[\r][\n]"
> =,2006-11-16, 07:34:44:730, [main], >> "Transfer-Encoding: chunked[\r][\n]"
> =,2006-11-16, 07:34:44:730, [main], >> "Content-Type: application/soap+xml; charset=UTF-8;action="urn:recordEvent";[\r][\n]"
> =,2006-11-16, 07:34:44:730, [main], >> "[\r][\n]"
> I'm not sure what I can do to change this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message