[jboss-dev-forums] [JBoss ESB Development] - External SOAP client fails due to httpheader issue
Dave Siracusa
do-not-reply at jboss.com
Tue Jun 15 17:05:00 EDT 2010
Dave Siracusa [http://community.jboss.org/people/davesiracusa] created the discussion
"External SOAP client fails due to httpheader issue"
To view the discussion, visit: http://community.jboss.org/message/548097#548097
--------------------------------------------------------------
We have an external client that is trying to invoke a SOAP based web service proxied on the the bus w/ SOAPProxy.
They happen to be passing in an httpheader with a empty/null value.
The servlet asserts while processing the headers. I blieve null/empty values are allowed.
It asserts due to the following in http/HttpHeader.java:
public class HttpHeader implements Serializable {
private String name;
private String value;
public HttpHeader(String name, String value) {
AssertArgument.isNotNullAndNotEmpty(name, "name");
AssertArgument.isNotNullAndNotEmpty(value, "value"); // <==========================
this.name = name;
this.value = value;
}
public String getName() {
return name;
}
public String getValue() {
return value;
}
}
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/548097#548097]
Start a new discussion in JBoss ESB Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2032]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100615/f6652c6c/attachment.html
More information about the jboss-dev-forums
mailing list