You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Fa...@HVBIS.com on 2007/06/11 17:19:18 UTC

HTTP/1.1 400 Bad Request

Hi,

when an exception occurs on server side I receive the Fault-Response with HTTP Code 400 instead of 500.
Axis 2 then simply returns Bad Request but not the original server exception.

Any ideas why I get the 400?

Here is the response message:

HEADER:
------------------------------
HTTP/1.1 400 Bad Request
Content-Type: multipart/related; boundary=MIMEBoundaryurn_uuid_90725D1D34C74FB4681181575011626; type="application/xop+xml"; start="<0....@apache.org>"; start-info="application/soap+xml"; charset=UTF-8; action="http://soap.server.aat.hvb.de/Archive2007PortType/getDocument/Fault/getDocumentFault"
Content-Language: de-DE
Transfer-Encoding: chunked
Date: Mon, 11 Jun 2007 15:16:51 GMT
Server: WebSphere Application Server/6.0
------------------------------

Message:
------------------------------
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><soapenv:Fault><soapenv:Code><soapenv:Value>soapenv:Sender</soapenv:Value></soapenv:Code><soapenv:Reason><soapenv:Text xml:lang="en-US">Fehler in GetDocument gefangen</soapenv:Text></soapenv:Reason><soapenv:Detail><ns2:getDocumentFault xmlns:ns2="http://soap.server.aat.hvb.de/xsd"><ns2:getDocumentFault><axis2ns11:Server.Archive.00805.exception.service.unknown xmlns:axis2ns11="http://de.hvb.aat.service">Beim Aufruf der Service Methode getDocument_getDocument_AC_m000321 ist ein Fehler aufgetreten. Ursache: com.ibm.mm.sdk.common.DKUsageError: DGL3974A: Ungültige PID für DB2 Content Manager. :::: DGL0303A: Ungültiger Parameter.[1234567890]</axis2ns11:Server.Archive.00805.exception.service.unknown>
------------------------------

Falko-Germar Schwarz (IBM)
HIS16ES 
 
im Auftrage der 
HVB Information Services GmbH
Am Tucherpark 12
D-80538 München
 
phone             +49 89 378-22001
mobil               +49 0170 79 37 26 1
postal address Am Tucherpark 12, D-80538 München
mailto:Falko-Germar.Schwarz.extern@HVBIS.com
http://www.hvbis.com/
mailto:falkoschwarz@de.ibm.com
http://www.ibm.com/

HVB Information Services GmbH Member of UniCredit Group, Am Tucherpark 12, 80538 München 
Vorsitzender des Aufsichtsrats: Alessandro Profumo
Vorstandsmitglieder: Willibald Cernko, Stefan Ermisch, Rolf Friedhofen, Heinz Laber, Dr. Stefan Schmittmann, Ronald Seilheimer, Matthias Sohler, Dr. Wolfgang Sprißler, Andrea Umberto Varese, Andreas Wölfer
Bayerische Hypo- und Vereinsbank AG, Rechtsform: Aktiengesellschaft, Sitz: München, Registergericht: München HR B 42148, Steuer-Nr.: 143/102/30007, USt-IdNr.: DE 129273380
Important Note: This e-mail is only intended for the person or company/organisation named as recipient. It may contain trade secrets or undisclosed and confidential information or information otherwise protected by work-product immunity or other legal regulations. If you have received this email by mistake, we kindly ask you not to copy this message or use it for any purpose nor disclose its contents to any other person. Please inform us immediately and delete the original document. In addition, please let us know if you or your company object to receiving e-mails for messages of this kind. 


Re: HTTP/1.1 400 Bad Request

Posted by Martin Gainty <mg...@hotmail.com>.
HTTP/1.1 400 Bad RequestI would verify your 
AxisService is operational (go to Axis Admin and verify the service is displayed)
verify the operation name is correct
verify the parameters for the Service are correct

But this specific error has is a genuine IBM bug ..It looks as if you will need DB2 Content Manager Version 8.3+ to work with 8.3 Library Server
http://publib.boulder.ibm.com/infocenter/cmgmt/v8r3m0/index.jsp?topic=/com.ibm.sysadmin.hlp/trs00085.htm

Viel Gluck,
Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

  ----- Original Message ----- 
  From: Falko-Germar.Schwarz.extern@HVBIS.com 
  To: axis-user@ws.apache.org 
  Sent: Monday, June 11, 2007 11:19 AM
  Subject: HTTP/1.1 400 Bad Request


  Hi, 

  when an exception occurs on server side I receive the Fault-Response with HTTP Code 400 instead of 500. 
  Axis 2 then simply returns Bad Request but not the original server exception. 

  Any ideas why I get the 400? 

  Here is the response message: 

  HEADER: 
  ------------------------------ 
  HTTP/1.1 400 Bad Request 
  Content-Type: multipart/related; boundary=MIMEBoundaryurn_uuid_90725D1D34C74FB4681181575011626; type="application/xop+xml"; start="<0....@apache.org>"; start-info="application/soap+xml"; charset=UTF-8; action="http://soap.server.aat.hvb.de/Archive2007PortType/getDocument/Fault/getDocumentFault"

  Content-Language: de-DE 
  Transfer-Encoding: chunked 
  Date: Mon, 11 Jun 2007 15:16:51 GMT 
  Server: WebSphere Application Server/6.0 
  ------------------------------ 

  Message: 
  ------------------------------ 
  <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><soapenv:Fault><soapenv:Code><soapenv:Value>soapenv:Sender</soapenv:Value></soapenv:Code><soapenv:Reason><soapenv:Text xml:lang="en-US">Fehler in GetDocument gefangen</soapenv:Text></soapenv:Reason><soapenv:Detail><ns2:getDocumentFault xmlns:ns2="http://soap.server.aat.hvb.de/xsd"><ns2:getDocumentFault><axis2ns11:Server.Archive.00805.exception.service.unknown xmlns:axis2ns11="http://de.hvb.aat.service">Beim Aufruf der Service Methode getDocument_getDocument_AC_m000321 ist ein Fehler aufgetreten. Ursache: com.ibm.mm.sdk.common.DKUsageError: DGL3974A: Ungültige PID für DB2 Content Manager. :::: DGL0303A: Ungültiger Parameter.[1234567890]</axis2ns11:Server.Archive.00805.exception.service.unknown>

  ------------------------------ 

  Falko-Germar Schwarz (IBM) 
  HIS16ES 
    
  im Auftrage der 
  HVB Information Services GmbH 
  Am Tucherpark 12 
  D-80538 München 
    
  phone             +49 89 378-22001 
  mobil               +49 0170 79 37 26 1 
  postal address Am Tucherpark 12, D-80538 München 
  mailto:Falko-Germar.Schwarz.extern@HVBIS.com 
  http://www.hvbis.com/ 
  mailto:falkoschwarz@de.ibm.com 
  http://www.ibm.com/ 

  HVB Information Services GmbH Member of UniCredit Group, Am Tucherpark 12, 80538 München
  Vorsitzender des Aufsichtsrats: Alessandro Profumo
  Vorstandsmitglieder: Willibald Cernko, Stefan Ermisch, Rolf Friedhofen, Heinz Laber, Dr. Stefan Schmittmann, Ronald Seilheimer, Matthias Sohler, Dr. Wolfgang Sprißler, Andrea Umberto Varese, Andreas Wölfer
  Bayerische Hypo- und Vereinsbank AG, Rechtsform: Aktiengesellschaft, Sitz: München, Registergericht: München HR B 42148, Steuer-Nr.: 143/102/30007, USt-IdNr.: DE 129273380

  Important Note: This e-mail is only intended for the person or company/organisation named as recipient. It may contain trade secrets or undisclosed and confidential information or information otherwise protected by work-product immunity or other legal regulations. If you have received this email by mistake, we kindly ask you not to copy this message or use it for any purpose nor disclose its contents to any other person. Please inform us immediately and delete the original document. In addition, please let us know if you or your company object to receiving e-mails for messages of this kind.