400: Bad Request
I am trying to get an inputStream to another servlet from a servlet. I am using standard well documented techniques for opening the connection. The getInputStream() call throws an exception as below:
java.io.FileNotFoundException: Response: '400: Bad Request' for url: 'http://localhost:7001/shoppingCart/SOAPServlet'
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:367)
at SendServlet.doGet(SendServlet.java:40)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
Here is the code snippet:
String payload = "THE PAYLOAD WILL BE HERE";
URL url = new URL("http://Localhost:7001/shoppingCart/SOAPServlet");
HttpURLConnection conn = (HttpURLConnection)url.openConnection();
conn.setRequestProperty("SOAPMethodName","http://www.nicholaschase.com/soap/#InventorySold");
conn.setDoOutput(true);
conn.setRequestMethod("POST");
conn.setDoInput(true);
conn.connect();
OutputStream toSOAP = conn.getOutputStream();
toSOAP.write(payload.getBytes());
toSOAP.close();
InputStream fromSOAP = conn.getInputStream();
The last line throws the exception. The servlet is a part of the web application and I am able to access the servlet if a type the URL in the browser window. The web.xml which deploys the servlet is as below:
<servlet>
<servlet-name>SOAPServlet</servlet-name>
<display-name>SOAPServlet</display-name>
<servlet-class>SOAPServlet</servlet-class>
<description>Sends SOAP Information back</description>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>SOAPServlet</servlet-name>
<url-pattern>/SOAPServlet/*</url-pattern>
</servlet-mapping>
Could anybody let me know why the above exception will occur
This was posted back in 2002, but can someone tell me the solution for it. I am up against the wall with a very familier situation.
Thanks
Similar Messages
-
Hi All,
I am seeing the following error for SMS_AWEBSVC_CONTROL_MANAGER component with Message ID: 8100
Application Web Service Control Manager detected AWEBSVC is not responding to HTTP requests. The http status code and text is 400, Bad Request.
awebsctl.log file has below errors:
Call to HttpSendRequestSync failed for port 80 with status code 400, text: Bad Request
SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
13920 (0x3660)
AWEBSVCs http check returned hr=0, bFailed=1
SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
13920 (0x3660)
AWEBSVC's previous status was 1 (0 = Online, 1 = Failed, 4 = Undefined)
SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
13920 (0x3660)
Health check request failed, status code is 400, 'Bad Request'.
SMS_AWEBSVC_CONTROL_MANAGER 12/22/2014 3:37:55 PM
13920 (0x3660)
Management point and Application Catalog Website Point are installed on the same Server where I am seeing the error for Application Catalog Web Service Point role. Management Point and Application Catalog Website Point are functioning properly. Application
Catalog Website is working.
Thanks & Regards, KedarHi Jason,
Application Catalog Web Service Point and Application Catalog Website Point; both are installed as per below configuration on same Server:
IIS Website: Default Web Site
Port Number: 80
with default value for Web Application Name configured.
For SMS_AWEBSVC_CONTROL_MANAGER component, I am getting below error in Component Status:
Application Web Service Control Manager detected AWEBSVC is not responding to HTTP requests. The http status code and text is 400, Bad Request.
Possible cause: Internet Information Services (IIS) isn't configured to listen on the ports over which AWEBSVC is configured to communicate.
Solution: Verify that the designated Web Site is configured to use the same ports which AWEBSVC is configured to use.
Possible cause: The designated Web Site is disabled in IIS.
Solution: Verify that the designated Web Site is enabled, and functioning properly.
For more information, refer to Microsoft Knowledge Base.
And awebsctl.log has the below error lines:
Call to HttpSendRequestSync failed for port 80 with status code 400, text: Bad Request
SMS_AWEBSVC_CONTROL_MANAGER
12/23/2014 11:04:36 AM 16388 (0x4004)
AWEBSVCs http check returned hr=0, bFailed=1
SMS_AWEBSVC_CONTROL_MANAGER
12/23/2014 11:04:36 AM 16388 (0x4004)
AWEBSVC's previous status was 1 (0 = Online, 1 = Failed, 4 = Undefined)
SMS_AWEBSVC_CONTROL_MANAGER
12/23/2014 11:04:36 AM 16388 (0x4004)
Health check request failed, status code is 400, 'Bad Request'.
SMS_AWEBSVC_CONTROL_MANAGER
12/23/2014 11:04:36 AM 16388 (0x4004)
STATMSG: ID=8100
What should I check from IIS side?
Application Catalog Website is functioning properly.
Thanks & regards,
Kedar
Thanks & Regards, Kedar -
Content-Type is net being set in HTTP header. Server returns 400 Bad Request error.
Hi,
I am trying to access an XML WebService. This service requires the content type of the request to be set to "text/xml". As you can see in the source code, I am setting the req.ContentType property to "text/xml".
However, this content type seems not to be added to the HTTP headers. The server returns a 400 Bad Request error as can be seen in the log.
I've attached a System.Net.trace log and it states:
[Public Key]
Algorithm: RSA
Length: 2048
Key Blob: 30 82 01 0a 02 82 01 01 00 bc 09 30 8a 1e 03 4d 7a ea 16 d3 a8 5e d8 5b 00 c4 8a c5 9f 26 bd 7d d6 cb 8b d0 db bd 93 2d 2b 3b 84 f6 20 79 83 34 67 51 37 21 ea 56 5e 18 d8 a3 db 72 43 0e 14 77 e2 64 cb 07 b6 2a 81 c7 f5 16 dd 19 c7 d9 68 0b 3a 81 5c f0 05 c9 ed 2b 37 00 31 41 37 8b 3a 73 4a 4d ab d7 d8 87 79 35 82 01 97 e3 3c be bb 84 e5 94 bb 87 52 e3 9f b5 fb 3e 33 38 c3 eb 73 42 ee ba 1e c5 4a 33 18 a1 0d 8a d2 10 a8 c5 3....
System.Net Information: 0 : [26780] SecureChannel#31884011 - Remote certificate was verified as valid by the user.
System.Net Information: 0 : [26780] ConnectStream#26966483 - Sending headers
API-VERSION: 1
Host: test.myhost.com
Content-Length: 329
Expect: 100-continue
Connection: Keep-Alive
System.Net Information: 0 : [26780] Connection#3888474 - Received status line: Version=1.1, StatusCode=100, StatusDescription=Continue.
System.Net Information: 0 : [26780] Connection#3888474 - Received headers
System.Net Information: 0 : [26780] Connection#3888474 - Received status line: Version=1.1, StatusCode=400, StatusDescription=Bad Request.
System.Net Information: 0 : [26780] Connection#3888474 - Received headers
0: Content-type
1: text/xml
X-Debug-Token: a810dc
X-Debug-Token-Link: /service/_profiler/a810dc
Connection: keep-alive
Content-Length: 3440
Cache-Control: no-cache
Content-Type: text/html; charset=UTF-8
Date: Tue, 14 Apr 2015 11:07:11 GMT
Server: Apache
...and here's the implementation of the web request:
private void ButtonSend_Click(object sender, EventArgs e)
WebHeaderCollection whCol = new WebHeaderCollection();
whCol.Add("API-VERSION", "1");
//whCol.Add("Content-Type", "text/xml; charset=UTF-8"); <-- That doesn't work in .NET. Content-Type has to be set on the ContentType-Property
string msg = _textBoxReq.Text;
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(_textBoxURL.Text);
byte[] data = Encoding.UTF8.GetBytes(msg);
req.Method = "POST";
req.ContentType = "text/xml; charset=UTF-8";
req.ContentLength = data.Length;
req.Headers = whCol;
req.GetRequestStream().Write(data, 0, data.Length);
string xml = "";
try
using (HttpWebResponse resp = (HttpWebResponse)req.GetResponse())
using (System.IO.StreamReader sr = new System.IO.StreamReader(resp.GetResponseStream()))
xml = sr.ReadToEnd().Trim();
catch (WebException we)
using (System.IO.StreamReader sr = new System.IO.StreamReader(we.Response.GetResponseStream()))
xml = sr.ReadToEnd().Trim();
_textBoxRes.Text = xml;
Can anyone help?
Thanks,
MiRiHi _MiRichter,
Well Done!
Thank you very much for sharing the solution to us.
Best Regards,
Amy Peng
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 400 Bad Request
Hi,
We are doing File to WCF Scenario( SOAP ). I am trying to post the Data to WCf usingf SOAP Reciver Adapter.
Getting the Following error.
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 400 Bad Request
Thanks in advance>>> Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 400 Bad Request
Answer: Use the third party wsdl in SOAP UI or any soap client tool and send the request and see the response. The problem here is the message structure mismatch between your request to the webservice and webservice expecting...
Possible 2 reasons:
1) You are not creating the target message based on the wsdl structure or not configured soap receiver properly.
or
2 ) Your wsdl is not latest or updated one or some changes have happened in the third party webservice hosting side. -
BC Sender Adapter--400 Bad Request
Hi,
I am trying to integrate BC with XI(BC Sender Adapter). BC will send Data to XI.
In BC, i have specified a routing rule( as specified in help.sap.com) using the following parameters :
URL:http://<hostname:portnumber>/MessagingSystem/receive/BcAdapter/BC
User:xiappluser
When i test this service, it gives the error 400 Bad Request. I tested the validitly of the above URL by loggin in through a web-browser. The messaging servlet is seen in active status.
<?xml version="1.0" encoding="UTF-8" ?>
- <scenario>
<scenname>MSG_SCEN</scenname>
<scentype>SERV</scentype>
<sceninst>MSG_001</sceninst>
<scenversion>001</scenversion>
- <component>
<compname>SERVLET</compname>
<compdesc>Messaging System</compdesc>
<comphost>localhost</comphost>
<compinst>MSG_001</compinst>
- <message>
<messalert>OKAY</messalert>
<messseverity>100</messseverity>
<messarea>QR</messarea>
<messnumber>801</messnumber>
<messparameter>na</messparameter>
<messtext>MessagingServlet is active.</messtext>
</message>
</component>
</scenario>
Even when i test the URL http://<hostname>:50000 from BC,the response code is 200(success). But the problem is when i try to post the request to messaging servlet (400 bad request).
Can some body suggest me how to go about.
Regards,
Siva Maranani.hi,
I was able to get the error details of "400:Bad Request."
The error is :
com.sap.aii.af.ra.ms.api.MessageFormatException: got no name/namespace for the payload of the XRFC_DOC_TYPE_ENVELOPE.
org.xml.sax.SAXexception:got no name/namespace for the payload of the XRFC_DOC_TYPE_ENVELOPE.
Below is the xmldata, that i am sent to XI:
<?xml version="1.0" encoding="iso-8859-1"?>
<sap:Envelope xmlns:sap="urn:sap-com:document:sap" version="1.0">
<sap:Header xmlns:rfcprop="urn:sap-com:document:sap:rfc:properties">
<saptr:From xmlns:saptr="urn:sap-com:document:sap:transport">BC</saptr:From>
<saptr:To xmlns:saptr="urn:sap-com:document:sap:transport">XI</saptr:To>
</sap:Header>
<sap:Body>
<rfc:ZSIVAINSERT xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<CARRID>AA<CARRID>
<CONNID>0017<CONNID/>
<FLDATE>20040417<FLDATE/>
</rfc:ZSIVAINSERT>
</sap:Body>
</sap:Envelope>
I do not understand the name/namespace it is looking for. Kindly help me out.
Regards,
Siva Maranani -
HTTP/1.1 400 Bad Request error in receiver REST channel
Hi Experts
I am currently working on an interface in which we have created a REST communication channel on the receiver side.
The below error comes up in the PI when we try to perform the GET operation on the URLs given below:
Error Message: HTTP error occurred: HTTP/1.1 400 Bad Request
URLs -
i) https://<myHost>:<myPort>/businesses/search?Keyword=Viridor&ResultsPerPage=10
ii) https://<myHost>:<myPort>/businesses/ec92a1e9-cef0-48aa-8800-a2e500ce8b1c/sites?Keyword=Viridor&ResultsPerPage=10
When we use SOAP UI to perform the above test, it works perfectly fine and fetches the required response from the target REST server.
Also, when we use the URL - https://<myHost>:<myPort>/businesses in the receiver communication channel in PI, it works fine and retrieves the
values of all the businesses present on the target server, however on making URL more specific - like the two URLs above, it does not work
and gives the bad request message.
Please can you let me know what could be the issue.
Thanks,
MaheswarareddyHi All,
Issue resolved:) ...that due to When calling a URL in the REST Receiver Channel, all GET variables are ignored
so we had to upgrade SP10 patch level 5 and all services are working as we expected.
Also pls check Note :2114322
Thanks,
Maheswarareddy -
URGENT - Error 400--Bad Request
When I run weblogic 6.0 default console I get "Error 400--Bad Request> From RFC
2068 Hypertext Transfer Protocol -- HTTP/1.1:"What does this mean ? Can u help
me to fix it !! Other than reinstall the whole WebLogic!!!
Another things is do you have and recommendation web site, eBook that teach "Using
Weblogic EJB with JBuider 6". Thank YouThe solution was to switch to Apache's HttpClient. no more problems with SUN's HttpUrlConnection!
-
Hi all,
I'm on the process of transition from Exchange 2003 to 2010, everything is going perfectly alright however ActiveSync is bugging me!
when I try to test activesync I get the following error:
[PS] C:\>Test-ActiveSyncConnectivity -MailboxCredential $user -TrustAnySSLCertificate |FL
RunspaceId : 136b8f68-26ec-4e29-a5bb-cf5ee816e04b
LocalSite : SITE
SecureAccess : True
VirtualDirectoryName :
Url :
UrlType : Unknown
Port : 0
ConnectionType : Plaintext
ClientAccessServerShortName : cas01
LocalSiteShortName : SITE
ClientAccessServer : CASSERVERNAME
Scenario : Options
ScenarioDescription : Issue an HTTP OPTIONS command to retrieve the Exchange ActiveSync protocol version.
PerformanceCounterName :
Result : Success
Error :
UserName : user1
StartTime : 12/12/2012 1:02:23 PM
Latency : 00:00:00.0312496
EventType : Success
LatencyInMillisecondsString : 31.25
Identity :
IsValid : True
RunspaceId : 136b8f68-26ec-4e29-a5bb-cf5ee816e04b
LocalSite : Reckon_NS
SecureAccess : True
VirtualDirectoryName :
Url :
UrlType : Unknown
Port : 0
ConnectionType : Plaintext
ClientAccessServerShortName : CASSERVERNAME
LocalSiteShortName : SITE
ClientAccessServer : CASSERVERNAME
Scenario : FolderSync
ScenarioDescription : Issue a FolderSync command to retrieve the folder hierarchy.
PerformanceCounterName : DirectPush Latency
Result : Failure
Error : [System.Net.WebException]: The remote server returned an error: (400) Bad Request.
HTTP response headers:
MS-Server-ActiveSync: 6.5.7638.1
Content-Length: 46
Cache-Control: private
Content-Type: text/html
Date: Wed, 12 Dec 2012 02:02:23 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
UserName : user1
StartTime : 12/12/2012 1:02:23 PM
Latency : -00:00:01
EventType : Error
LatencyInMillisecondsString :
Identity :
IsValid : True
environment:
Ex 2003 'Exchange' virtual directory permission: Integrated Windows Authentication, Basic
Ex 2003 'OMA' permission: Basic Authentication
Ex 2003 'ActiveSync' permission: Integrated, Basic
Ex 2010 successfully redirects users from 2010 to 2003 webmail if you login to OWA with a mailbox on 2003Yes Martina,
It has been done through ESM
I cannot test using testexchangeconnectivity.com since I cannot put the 2010 one into production, I will get into trouble if I change the DNS record to the new mail server!
Yes, EAS works perfectly fine with 2010 mailboxes.
OK.
It might be that it's not possible to run Test-ActiveSyncConnectivity against a mailbox stored in Exchange 2003.
Installing KB937031 and enabling Windows Authentication is really all that needs to be done in EX03, in order for Exchange 2010 to proxy the EAS requests.
Martina Miskovic -
An unhandled exception has been thrown in the ESB system-400 Bad request
Hi,
When i try to call a ESB Routing Service in a BPEL Flow, i am getting the error below,
An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 400 Bad request
i tried to call same routing servive via SoapUI and i got the same error.
Any ideas welcome.
<messages><input><Invoke_SFA_Persist_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="ListOfTcAccountInterface"><ListOfTcAccountInterface xmlns:ns2="http://turkcell.com.tr/esb/Common_BO_OUTBOUND_BO_ROUTING_SERVICE" xmlns:ns1="http://oracle.com/esb/namespaces/Common_BO_OUTBOUND_BO_ROUTING_SERVICE" xmlns:inp1="http://www.turkcell.com.tr/xml/BO_Account_Interface" xmlns="http://www.turkcell.com.tr/xml/BO_Account_Interface">
<inp1:Header>
<inp1:Transaction_Id>1120000000000279727</inp1:Transaction_Id>
<inp1:System_Id>1001</inp1:System_Id>
<inp1:Process_Code>BO_FL1003_SUBSCRIBE_SERVICE_PROCESS</inp1:Process_Code>
<inp1:Transaction_Date>8/8/2008 12:47:47</inp1:Transaction_Date>
<inp1:Operation_Type>SubscribeService</inp1:Operation_Type>
</inp1:Header>
<inp1:TcAccountIntegration>
<inp1:IntegrationId>16853952</inp1:IntegrationId>
<inp1:UUID>1E01D469-4189-11dc-A07A-00144F6ABAE8</inp1:UUID>
<inp1:ListOfTcAgreementIntegration>
<inp1:TcAgreementIntegration>
<inp1:IntegrationId>16903908</inp1:IntegrationId>
<inp1:AgreementStartDate>7/28/1996 0:0:0</inp1:AgreementStartDate>
<inp1:AgreementStatus>0</inp1:AgreementStatus>
<inp1:ListOfTcAgreementAssetIntegration>
<inp1:TcAgreementAssetIntegration>
<inp1:BarringStatus/>
<inp1:AssetNumber>16903908</inp1:AssetNumber>
<inp1:AdditionalInfo/>
<inp1:AssetDescription>PostPaid GSM</inp1:AssetDescription>
<inp1:MSISDN>5322776665</inp1:MSISDN>
<inp1:Reason/>
<inp1:BSCSCustomerId>512914</inp1:BSCSCustomerId>
<inp1:BSCSCO_ID>438781</inp1:BSCSCO_ID>
<inp1:Status>0</inp1:Status>
<inp1:Type>1</inp1:Type>
<inp1:ListOfTcChildAssetIntegration>
<inp1:TcChildAssetIntegration>
<inp1:BarringStatus/>
<inp1:AssetNumber>437894069</inp1:AssetNumber>
<inp1:AdditionalInfo>9999</inp1:AdditionalInfo>
<inp1:AssetDescription>FCT</inp1:AssetDescription>
<inp1:MSISDN/>
<inp1:Reason>Service Subscription</inp1:Reason>
<inp1:BSCSCustomerId>1</inp1:BSCSCustomerId>
<inp1:BSCSCO_ID>9999</inp1:BSCSCO_ID>
<inp1:Status>0</inp1:Status>
<inp1:Type>52</inp1:Type>
</inp1:TcChildAssetIntegration>
</inp1:ListOfTcChildAssetIntegration>
</inp1:TcAgreementAssetIntegration>
</inp1:ListOfTcAgreementAssetIntegration>
</inp1:TcAgreementIntegration>
</inp1:ListOfTcAgreementIntegration>
</inp1:TcAccountIntegration>
</ListOfTcAccountInterface>
</part></Invoke_SFA_Persist_InputVariable></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>ESBMessageProcessingFailed</code>
</part><part name="summary"><summary>null</summary>
</part><part name="detail"><detail><detail>
<EventName xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">Common.BO_OUTBOUND.BO_SFA.BO_Persist_Account_CRM_Routing_Service.Persist</EventName>
<Cause xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 400 Bad request
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1723)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1465)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1186)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:507)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:430)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:447)
at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:184)
at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:112)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:158)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:121)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1986)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1465)
at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:105)
at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:273)
at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:297)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:279)
at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:118)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1986)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1465)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(EventOracleSoapProvider.java:343)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(EventOracleSoapProvider.java:190)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:190)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:539)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:430)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:447)
at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:184)
at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:112)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:158)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:121)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1986)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1465)
at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:105)
at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:273)
at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:297)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:279)
at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:118)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1986)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1465)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(EventOracleSoapProvider.java:343)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(EventOracleSoapProvider.java:190)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:190)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.collaxa.thirdparty.apache.wsif.WSIFException: exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 400 Bad request
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1723)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1465)
at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1186)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:507)
... 39 more
</Cause>
</detail>
</detail>
</part></remoteFault></fault></messages>Is this error just for this message, or all messages?
Is the xml valid against the payload. You will need to use a tool like XML spy to check.
Are you able to see the response coming back, if so does it conform to the response schema.
cheers
James -
Msg=Unsupported response content type "text/html; 400 Bad Request
Hi All
this is the excpetion that I get when I am tring to run the
service MAnagerClient.
whether it is a list or deploy command :
can anybody help me?
Exception in thread "main" [SOAPException: faultCode=SOAP-
ENV:Protocol; msg=Unsupported response content type "text/html;
charset=iso-8859-1", must be: "text/xml". Response was:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>400 Bad Request</TITLE>
</HEAD><BODY>
<H1>Bad Request</H1>
Your browser sent a request that this server could not
understand.<P>
<HR>
<ADDRESS>Oracle HTTP Server Powered by Apache/1.3.19 Server at
ranaldb Port 1324</ADDRESS>
</BODY></HTML>
at org.apache.soap.rpc.Call.getEnvelopeString
(Call.java:175)
at org.apache.soap.rpc.Call.invoke(Call.java:212)
at
org.apache.soap.server.ServiceManagerClient.invokeMethod
(ServiceManagerClient.java:129)
at org.apache.soap.server.ServiceManagerClient.list
(ServiceManagerClient.java:151)
at org.apache.soap.server.ServiceManagerClient.main
(ServiceManagerClient.java:237)Hello,
Your message contains a an HTTP 404 error so the URL that you are trying to access is not valid.
Can you check from a browser what is the response when you call the endpoint?
http://server:port/wedanyservices-WedanyServicesPro-context-root/MyWebService2
I believe that you do not have a service deployed at this URL this is why you have such response, and you cannot send another response.
Regards
Tugdual Grall -
"The request failed with HTTP Status 400: Bad Request." when running reports
Hi,
I installed reporting services and the install went fine. The Reporting Services are located on a different server. I can see all the reports in SCCM but when I try to run them I get the "400" error with the following details:
System.Net.WebException
The request failed with HTTP status 400: Bad Request.
Stack Trace:
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.ReportExecutionService.LoadReport2(String Report, String HistoryID)
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.<>c__DisplayClass2.<LoadReport>b__0()
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.ProxyMethodInvocation.Execute[TReturn](RSExecutionConnection connection, ProxyMethod`1 initialMethod, ProxyMethod`1 retryMethod)
at Microsoft.Reporting.WinForms.Internal.Soap.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID)
at Microsoft.Reporting.WinForms.ServerReport.EnsureExecutionSession()
at Microsoft.Reporting.WinForms.ServerReport.SetParameters(IEnumerable`1 parameters)
at Microsoft.ConfigurationManagement.AdminConsole.SrsReporting.ReportViewerWindowsForms.SetParameterValues_DoWork(Object sender, DoWorkEventArgs e)
I can open the URL from the SCCM server but when I select a report I am unable to select any report options if available. If no options are availble the report just doesn't run, I don't get and error if I select "View Report" mutiple
times.
If I connect to the Reporting Services site on the computer where it is installed all the reports run fine.
One thing I have noticed is that when I try to change or add a role assignment for Reporting Services the edited account always reverts back to the default settings and the added Domain user is dropped.
ThanksI reviewed the topic and found a couple of steps I missed the first time around. I had to "Configure Reports to Use Report Builder 3.0 and setting the "Log on Locally" permission.
I then uninstalled the role and reinstalled it. I am still getting the 400 error.
When I inspected the SmsAdminUI.log I noticed the Error on the last line 2151811598 (it repeats in the log). I couldn't find anything specific related to it. By reading a few "related" Internet posts I came accross a intial setup
blog that noted some WMI firewall execptions (Async-in, DCOM-in and WMI-in) as require so I checked and they were not allowed on the SCCM server so I allowed them and tested with the same result. I turned them off again.
Here is the tail end of the SmsAdminUI.log
[19, PID:2684][01/24/2013 16:08:29] :[ReportProxy] - User-specified default Reporting Point [INC-SQL42.deccoinc.net] could not be found, [] is now the default Reporting Point.
[4, PID:2684][01/24/2013 16:08:30] :[ReportProxy] - User-specified default Reporting Point [INC-SQL42.deccoinc.net] could not be found, [] is now the default Reporting Point.
[15, PID:2684][01/24/2013 16:08:30] :[ReportProxy] - User-specified default Reporting Point [INC-SQL42.deccoinc.net] could not be found, [] is now the default Reporting Point.
[1, PID:2684][01/24/2013 19:06:02] :System.Management.ManagementException\r\nNot found \r\n at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObject.Initialize(Boolean getObject)
at System.Management.ManagementBaseObject.get_wbemObject()
at System.Management.PropertyData.RefreshPropertyInfo()
at System.Management.PropertyDataCollection.get_Item(String propertyName)
at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
at System.Management.ManagementBaseObject.get_Item(String propertyName)
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.GetInstance(String objectPath)\r\nManagementException details:
instance of SMS_ExtendedStatus
Description = "Error retrieving object FileType=2";
ErrorCode = 2151811598;
File = "e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\SspInterface.h";
Line = 1208;
Operation = "GetObject";
ParameterInfo = "SMS_SCI_SysResUse.FileType=2,ItemName=\"[\\\"Display=\\\\\\\\INC-SQL42.deccoinc.net\\\\\\\"]MSWNET:[\\\"SMS_SITE=INC\\\"]\\\\\\\\INC-SQL42.deccoinc.net\\\\,SMS SRS Reporting Point\",ItemType=\"System Resource Usage\",SiteCode=\"INC\"";
ProviderName = "ExtnProv";
StatusCode = 2147749890;
\r\n
[1, PID:2684][01/24/2013 23:39:14] :System.NullReferenceException\r\nObject reference not set to an instance of an object.\r\n at Microsoft.ConfigurationManagement.AdminConsole.SmsCustomDialog.get_LocaleIndependentIdentifier()
at Microsoft.ConfigurationManagement.AdminConsole.ShowDialogTaskHandler.DoTask(NavigationModelNodeBase node, SccmTaskConfiguration sccmTask, PropertyDataUpdated dataUpdatedDelegate, Boolean readOnly)\r\n
[1, PID:5008][01/25/2013 20:48:00] :System.Management.ManagementException\r\nNot found \r\n at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObject.Initialize(Boolean getObject)
at System.Management.ManagementBaseObject.get_wbemObject()
at System.Management.PropertyData.RefreshPropertyInfo()
at System.Management.PropertyDataCollection.get_Item(String propertyName)
at System.Management.ManagementBaseObject.GetPropertyValue(String propertyName)
at System.Management.ManagementBaseObject.get_Item(String propertyName)
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlConnectionManager.GetInstance(String objectPath)\r\nManagementException details:
instance of SMS_ExtendedStatus
Description = "Error retrieving object FileType=2";
ErrorCode = 2151811598;
File = "e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\SspInterface.h";
Line = 1208;
Operation = "GetObject";
ParameterInfo = "SMS_SCI_SysResUse.FileType=2,ItemName=\"[\\\"Display=\\\\\\\\INC-SQL42.deccoinc.net\\\\\\\"]MSWNET:[\\\"SMS_SITE=INC\\\"]\\\\\\\\INC-SQL42.deccoinc.net\\\\,SMS SRS Reporting Point\",ItemType=\"System Resource Usage\",SiteCode=\"INC\"";
ProviderName = "ExtnProv";
StatusCode = 2147749890;
\r\n -
Download Manager - failing with error 400 Bad Request
Each time I try to download some patches from the download basket I get this error: The request failed: 400. Download Manager says the files are Partially Downloaded but the downloads never complete (they just cycle round one after another attempting each download before failing). The connection to SAP ssems to be made correctly (see trace file extract below)
I'm running JRE version 1.4.2_12; download manager ver 2.1.130. I've tried uninstalling & reinstalling JRE & download manager (numerous times). Does anyone have any suggestions about what might be the cause?
Thanks, Chris
PS - This is the relevant part of the trace file:
24-Aug-2007 09:29:06 Opening connection to 'https://smpdla.sap.com:443/00000084/217/KGPHA68.CAR?object_id=011000358700000405252007E&filepath=00000084\217\KGPHA68.CAR&uid=S0003245349'
24-Aug-2007 09:29:06 Sending request to SAP Service Marketplace Server (no tunneling)
24-Aug-2007 09:29:13 A response was received from the SAP Service Marketplace Server.
24-Aug-2007 09:29:13 Response received: 400 Bad Request
24-Aug-2007 09:29:13 Response Http Headers:
24-Aug-2007 09:29:13 Server=AkamaiGHost
24-Aug-2007 09:29:13 Mime-Version=1.0
24-Aug-2007 09:29:13 Content-Type=text/html
24-Aug-2007 09:29:13 Content-Length=340
24-Aug-2007 09:29:13 Expires=Fri, 24 Aug 2007 08:28:49 GMT
24-Aug-2007 09:29:13 Date=Fri, 24 Aug 2007 08:28:49 GMT
24-Aug-2007 09:29:13 Connection=close
24-Aug-2007 09:29:13 Response code: 400
24-Aug-2007 09:29:18 Notifying subscribers of download state ...
24-Aug-2007 09:29:18 The download has terminated ...
24-Aug-2007 09:29:18 getUserProxy: true
24-Aug-2007 09:29:18 getEffectiveProtocol: http
24-Aug-2007 09:29:18 detected: http / https w/o proxy request
24-Aug-2007 09:29:18 SMPResponse::sendRequestNormal
24-Aug-2007 09:29:18 Opening connection to 'http://service.sap.com:80/~form/download_basket?_MODE=OBJECT_VERSION&OBJID=011000358700000485532007E&'
24-Aug-2007 09:29:18 Sending request to SAP Service Marketplace Server (no tunneling)
24-Aug-2007 09:29:25 A response was received from the SAP Service Marketplace Server.
24-Aug-2007 09:29:25 Redirecting to 'https://WEBSMP108.SAP-AG.DE/~form/download_basket?_MODE=OBJECT_VERSION&OBJID=011000358700000485532007E&'...
24-Aug-2007 09:29:25 getUserProxy: true
24-Aug-2007 09:29:25 getEffectiveProtocol: https
24-Aug-2007 09:29:25 detected: http / https w/o proxy request
24-Aug-2007 09:29:25 SMPResponse::sendRequestNormal
24-Aug-2007 09:29:25 Opening connection to 'https://WEBSMP108.SAP-AG.DE/~form/download_basket?_MODE=OBJECT_VERSION&OBJID=011000358700000485532007E&'
24-Aug-2007 09:29:25 Sending request to SAP Service Marketplace Server (no tunneling)
24-Aug-2007 09:29:25 A response was received from the SAP Service Marketplace Server.
24-Aug-2007 09:29:25 Response received: 200 OK
24-Aug-2007 09:29:25 Response Http Headers:
24-Aug-2007 09:29:25 Date=Fri, 24 Aug 2007 08:29:02 GMT
24-Aug-2007 09:29:25 Server=Microsoft-IIS/6.0
24-Aug-2007 09:29:25 Content-Type=text/plain
24-Aug-2007 09:29:25 Content-Length=44
24-Aug-2007 09:29:25 getUserProxy: true
24-Aug-2007 09:29:25 getEffectiveProtocol: http
24-Aug-2007 09:29:25 detected: http / https w/o proxy request
24-Aug-2007 09:29:25 SMPResponse::sendRequestNormal
24-Aug-2007 09:29:25 Opening connection to 'http://service.sap.com:80/~form/download_basket?_MODE=DOWNLOAD_START2&OBJID=011000358700000485532007E&_VERSION=2.1.130&'
24-Aug-2007 09:29:25 Sending request to SAP Service Marketplace Server (no tunneling)
24-Aug-2007 09:29:25 A response was received from the SAP Service Marketplace Server.
24-Aug-2007 09:29:25 Redirecting to 'https://WEBSMP209.SAP-AG.DE/~form/download_basket?_MODE=DOWNLOAD_START2&OBJID=011000358700000485532007E&_VERSION=2.1.130&'...
24-Aug-2007 09:29:25 getUserProxy: true
24-Aug-2007 09:29:25 getEffectiveProtocol: https
24-Aug-2007 09:29:25 detected: http / https w/o proxy request
24-Aug-2007 09:29:25 SMPResponse::sendRequestNormal
24-Aug-2007 09:29:25 Opening connection to 'https://WEBSMP209.SAP-AG.DE/~form/download_basket?_MODE=DOWNLOAD_START2&OBJID=011000358700000485532007E&_VERSION=2.1.130&'
24-Aug-2007 09:29:25 Sending request to SAP Service Marketplace Server (no tunneling)
24-Aug-2007 09:29:26 A response was received from the SAP Service Marketplace Server.
24-Aug-2007 09:29:26 Response received: 200 OK
24-Aug-2007 09:29:26 Response Http Headers:
24-Aug-2007 09:29:26 Date=Fri, 24 Aug 2007 08:29:03 GMT
24-Aug-2007 09:29:26 Server=Microsoft-IIS/6.0
24-Aug-2007 09:29:26 Content-Type=text/html
24-Aug-2007 09:29:26 Content-Length=2416
24-Aug-2007 09:29:26 Number of URLs: 1
24-Aug-2007 09:29:26 Description lines: 56
24-Aug-2007 09:29:26 Adding HTTP1/1 Header: Range: bytes=0-*
24-Aug-2007 09:29:26 getUserProxy: true
24-Aug-2007 09:29:26 getEffectiveProtocol: https
24-Aug-2007 09:29:26 detected: http / https w/o proxy request
24-Aug-2007 09:29:26 SMPResponse::sendRequestNormal
24-Aug-2007 09:29:26 Opening connection to 'https://smpdla.sap.com:443/00000085/652/KGPHA69.CAR?object_id=011000358700000485532007E&filepath=00000085\652\KGPHA69.CAR&uid=S0003245349'
24-Aug-2007 09:29:26 Sending request to SAP Service Marketplace Server (no tunneling)
24-Aug-2007 09:29:33 A response was received from the SAP Service Marketplace Server.
24-Aug-2007 09:29:33 Response received: 400 Bad Request
24-Aug-2007 09:29:33 Response Http Headers:Yes - I've checked the address w're pointing to & have rechecked several times with our network people re: the proxy.
The trace seems to show that we're certainly making the initial connections to SAP OK - it just gives up after a few redirections.
Chris -
SIP/2.0 400 Bad Request - 'Malformed/Missing URL'
I have a problem with inbounds calls from an IP PBX to a callmanager 7.X. The call can not be stablished. This is the capture log of the call
***************************** SIP message buffer start *****************************
INVITE sip:172.24.164.7 SIP/2.0
Via: SIP/2.0/UDP 10.151.100.12:5060;rport;branch=z9hG4bKEPSVBUS863e8efa-5b23-4053-89c5-67c08916ac85
To:
From: ;tag=13946664875f3f5b48-2149-4cab-9f44-32090d7cf876
CSeq: 487 INVITE
Call-ID: [email protected]ygi-con...
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, NOTIFY, REFER, MESSAGE, UPDATE
Contact:
Content-Type: application/sdp
Supported: replaces, norefersub
User-Agent: Epygi Quadro SIP User Agent/v5.3.2 (MIDIGW)
Max-Forwards: 70
Content-Length: 390
v=0
o=- 170 395 IN IP4 10.151.100.12
s=-
c=IN IP4 10.151.100.12
t=0 0
m=audio 6052 RTP/AVP 0 8 96 97 2 98 18 102 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:96 G726-16/8000
a=rtpmap:97 G726-24/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:98 G726-40/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:102 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
***************************** SIP message buffer end ******************************
13:57:05 Receive SIP message # (31/03/2014 18:57:05:315 GMT) # UDP # 494 bytes # buff size 1 # from: 172.24.164.7:5060 # to: 10.151.100.12:5060
***************************** SIP message buffer start *****************************
SIP/2.0 400 Bad Request - 'Malformed/Missing URL'
Reason: Q.850;cause=100
Date: Mon, 31 Mar 2014 18:57:17 GMT
From: ;tag=13946664875f3f5b48-2149-4cab-9f44-32090d7cf876
Allow-Events: presence
Content-Length: 0
To: ;tag=1787501341
Call-ID: [email protected]ygi-con...
Via: SIP/2.0/UDP 10.151.100.12:5060;rport;branch=z9hG4bKEPSVBUS863e8efa-5b23-4053-89c5-67c08916ac85
CSeq: 487 INVITE
***************************** SIP message buffer end ******************************
13:57:05 TLayer::MsgToTU # Msg type: 400 # TID: 286 # DID: 285
13:57:05 Try to send SIP message # (31/03/2014 18:57:05:316 GMT) # UDP # 459 bytes # buff size 1 # from: 10.151.100.12:5060 # to: 172.24.164.7:5060
***************************** SIP message buffer start *****************************
ACK sip:172.24.164.7 SIP/2.0
Via: SIP/2.0/UDP 10.151.100.12:5060;rport;branch=z9hG4bKEPSVBUS863e8efa-5b23-4053-89c5-67c08916ac85
To: ;tag=1787501341
From: ;tag=13946664875f3f5b48-2149-4cab-9f44-32090d7cf876
CSeq: 487 ACK
Call-ID: [email protected]ygi-con...
User-Agent: Epygi Quadro SIP User Agent/v5.3.2 (MIDIGW)
Max-Forwards: 70
Content-Length: 0
***************************** SIP message buffer end ******************************
13:57:05 SipSessDlg::Inc4xxProc # Got 400 message # OID: 285 # SID: 16249136886150664
13:57:05 SipSessDlg::ErrorHandling # Error: Negotiation, Move to terminate state # OID: 285 # SID: 16249136886150664
13:57:05 UA --> CM # ReportError # Error: Negotiation # Sip error: 400 # SID: 16249136886150664
13:57:05 SipSessDlg::TerminateTransactions # OID: 285 # SIPID: [email protected]ygi-con... # SID: 16249136886150664
Can anyone help me?Hello, did you edit the logs before posting it here? if not, then we are missing the fields in the incoming INVITE message from PBX.
No phone numbers in the Invite header and From & To fields are also missing.
Please check with the PBX.
***************************** SIP message buffer start *****************************
INVITE sip:172.24.164.7 SIP/2.0 ----> Number missing here
Via: SIP/2.0/UDP 10.151.100.12:5060;rport;branch=z9hG4bKEPSVBUS863e8efa-5b23-4053-89c5-67c08916ac85
To: ----> Number missing here
From: ;tag=13946664875f3f5b48-2149-4cab-9f44-32090d7cf876 ----> Number missing here
CSeq: 487 INVITE
Call-ID: [email protected]ygi-config.loc
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, NOTIFY, REFER, MESSAGE, UPDATE
Contact:
Content-Type: application/sdp
Supported: replaces, norefersub
User-Agent: Epygi Quadro SIP User Agent/v5.3.2 (MIDIGW)
Max-Forwards: 70
Content-Length: 390
v=0
o=- 170 395 IN IP4 10.151.100.12
s=-
c=IN IP4 10.151.100.12
t=0 0
m=audio 6052 RTP/AVP 0 8 96 97 2 98 18 102 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:96 G726-16/8000
a=rtpmap:97 G726-24/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:98 G726-40/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:102 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
//Suresh
Please rate all the useful posts -
I'm getting a bad request error when attempting to an outbound SIP call on a IP2IP gateway (H323 -> SIP).
It's a slightly odd configuration as we will only be using this route for outgoing calls only. The only error message I get is:
//-1/xxxxxxxxxxxx/SIP/Error/sipsdp_add_standard_lines: media_src_address is NULL; c-line is not added
SIP Invite message:
Sent:
INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK11222C
From: "anonymous" <sip:[email protected]>;tag=404CF30-282
To: <sip:[email protected]>
Date: Wed, 16 May 2007 13:09:44 GMT
Call-ID: [email protected]
Supported: 100rel,timer
Min-SE: 1800
Cisco-Guid: 15103203-2971783453-520093696-2887190163
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO, UPDATE, REGISTER
CSeq: 101 INVITE
Max-Forwards: 70
Remote-Party-ID: <sip:[email protected]>;party=calling;screen=yes;privacy=full
Timestamp: 1179320984
Contact: <sip:[email protected]:5060>
Call-Info: <sip:192.168.1.1:5060>;method="NOTIFY;Event=telephone-event;Duration=2000"
Expires: 180
Allow-Events: telephone-event
May 16 13:09:44.608 UTC: //-1/xxxxxxxxxxxx/SIP/Info/HandleUdpSocketReads: Msg enqueued for SPI with IP addr: 192.168.1.2:5060
May 16 13:09:44.608 UTC: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportProcessNWNewConnMsg: context=0x00000000
May 16 13:09:44.608 UTC: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:SIP/2.0 400 Bad Request
Via: SIP/2.0/UDP 192.168.1.1:5060;branch=z9hG4bK11222C
From: "anonymous" <sip:[email protected]>;tag=404CF30-282
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 101 INVITE
User-Agent: 2N StarGate V-02.20.47
Allow: INVITE, BYE, ACK, CANCEL, OPTIONS
Content-Length: 0
Any ideas?For what its worth, I had the same problem from Callmanager to an IOS IPIPGW. I was getting the SIP/2.0 400 Bad Request - 'Malformed/Missing Contact field' error message. Turns out I had mistyped my caller id mask and was sending characters in place of numbers. By correcting it, my problem went away.
Todd -
Hello All,
I'm up against a show stopper. I have a simple region (lets call it the "Quote Region") of type SQL Query that returns rows from a table which I will need tp update. Occasionally the query will return a large number of rows, depending on the size of the customer's quote. My problem is when the quote is large (somewhere around 200 rows) and I perform an update I get HTTP 400 Bad Request "the webpage cannot be found", the URL says something about 7779/pls/apex/wwv_flow.accept.
The update is simple, it takes values that a user enters in another region and does a mass update to the lines in the Quote Region. The lines in the Quote region that are updated are determined by the user selecting them in a shuttle with the shuttle returning the line_id. For small quotes and even quotes with up to 195 lines everything works fine but I need this to work for large quotes! Does anyone know what's going on here???
I'm on version 3.1.2.00.02
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
I don't think it's my code, but here is the mass update anonymous block for review...
DECLARE
l_selected APEX_APPLICATION_GLOBAL.VC_ARR2;
x PLS_INTEGER := 1;
c_loopcount NUMBER := 0;
c_labelcount NUMBER := 0;
l_records VARCHAR2(32000);
l_line_id NUMBER;
BEGIN
-- Check that the shuttle has values
If :P3_APPLY_TO_LINES = 'NA' Then
RAISE_APPLICATION_ERROR( -20110, 'At least one line is required.' );
End If;
-- Convert the colon separated string of values in the shuttle into
-- a PL/SQL array
l_selected := APEX_UTIL.STRING_TO_TABLE(:P3_APPLY_TO_LINES);
FOR i IN 1.. NVL(l_selected.count,0) LOOP
l_line_id := l_selected (i);
c_loopcount := c_loopcount +1;
-- loop through each of the label values that have been entered by the user
FOR i IN 1 .. apex_application.g_f11.COUNT LOOP
c_labelcount := c_labelcount +1;
-- Update the transaction table with the provided value
UPDATE forx_label_transactions
SET value = apex_application.g_f01 (i) -- the user supplied value
,last_update_date = sysdate
,last_updated_by = :P3_LAST_UPDATED_BY
,last_update_login = :P3_LAST_UPDATE_LOGIN
WHERE label_id = apex_application.g_f11 (i) -- the hidden label id that is the foreign key
AND source_transaction_id = l_line_id; -- the line id of the quote line
--AND source_transaction_id = 1074016;
END LOOP;
l_records := l_records||l_selected (i);
END LOOP;
:p3_labelcount := c_labelcount;
:p3_loopcount := c_loopcount;
:p3_selected := (l_records);
END;
Edited by: blue4speed on Oct 7, 2010 8:54 PM
Edited by: blue4speed on Oct 7, 2010 9:04 PMWhen submitting a page there is some limit about the page size (I think 32K) after that it throws HTTP 400. We were also facing the same problem in our large tabular form. You can use Pagination to limit the rows displayed in a page to avoid this error.
But when using pagination you will face another issue. Let's say you have 100 rows and pagination is displaying only 10 rows. If you update some rows and press navigation button (Next/Previous) the changes you have made are lost and not saved. I also have a workaround for this if you are interested please let me know. I will post you if you need it. -
HTTP 400 Bad Request when accessing Oracle XE/Apex from the Internet
I have Oracle Express Edition upgraded to Apex 3.2. I can access everything (SQL prompt, Apex HTTP) from my local machine. I have configured the server for remote access on a non-default (not 8080) port.
I have executed: exec dbms_xdb.setListenerLocalAccess(false);
I can access the server using:
http://coyote:9977/apex (brings me to Application Express Administration Services login screen)
(where "coyote" is the local machine name of my Windows Vista box, where the Oracle/Apex server is installed.)
But when I try:
http://internet_server_name:9977/apex
(where "internet_server_name" is the internet DNS name visible of my machine visible from the internet.)
I get "HTTP 400 Bad Request"
I know the request is hitting the Oracle Listener (getting through firewalls, cable modem router, etc) since the http attempt causes the entry:
20-MAR-2009 20:36:53 * http * (ADDRESS=(PROTOCOL=tcp)(HOST=68.189.244.22)(PORT=52540)) * handoff * http * 0
to be made in the C:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
An attempt using the local (Windows) machine name makes a similar entry in the listener log:
20-MAR-2009 20:47:35 * http * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.7)(PORT=52811)) * handoff * http * 0
This seems like a security issue of some kind (is the server dropping a request from "outside" the local domain?)
I'm new to Oracle so I am not familiar with how to debug this sort of connectivity issue. In case it helps:
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
Start Date 20-MAR-2009 19:27:00
Uptime 0 days 1 hr. 30 min. 59 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\listener.ora
Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=coyote)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=coyote)(PORT=9977))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "XE_XPT" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "xe" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
The command completed successfully
Any help appreciated,
johnHans Forbrich wrote:
CoyoteTech wrote:
I have tried running with the firewall (F-Secure) completely disabled, but it made no difference. I do see the request hit the listener, and the handoff appears to be successful, but it goes silent from there. I also have a cable modem router that has the port forwarding set, but maybe there are other handoff ports besides the initial one (e.g. 8080) that need to be forwarded?Please also check the Windows firewall is off as well. Yes, Windows Firewall is disabled as well. See my previous post to Tyler - I'm pretty sure the reqwuest makes it through the firewall/router layer, since it causes an entry in Listener.log
Is your problem through the router only? In other words, if you try from a second machine that is on the same side as your XE, are you working OK? (My home ISP blocks a bunch of ports. Including SMTP, FTP, Telnet. And 8080 since that is a traditional default for many Java 'servers'.)
Yes, it appears to be related to a non-local IP address. I'm sure it makes it through the router - I also have several other ports that make it through (e.g. port 80).
I have poked around the DBMS_EPG docs, and ran a few of the commands there (list DADS etc). DBMS_EPG was first 'released' to us in 10gR2. As far as I'm concerned, XE is the public 'beta' or 'release candidate'. (This is supported by Oracle's docs that state that Apex using DBMS_EPG is first supported using 10.2.0.3 or 11g.) There are known bugs and there is no way to patch XE to fix them. However, I do not know whether you are hitting those bugs.
http://www.astral-consultancy.co.uk/cgi-bin/hunbug/doco.cgi?11410 provides some good notes.
Interesting. I will check out these docs later today.
>>
What happens when the listener hands off to a registered handler?
http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/concepts.htm#i1049597 gives a good description.
Thanks.
How do I pick up the [log] trail from there?I'm thniking that the listener's log is still the primary way to go. You may need to increase the log or trace level. I have not investigated how to gen or access logs inside EPG.I tried Tyler's trace but did not seem to add additional info to the Listener.log.
Maybe you are looking for
-
How to export a Form edited in LC Design to still be editable in Acrobat Pro
First off, I'm a new to Forms and how they work. I created a PDF Form in Acrobat Pro from an existing Word Document. The Form was setup with some functionality like automatically assigning the current Date in a field for when the document is accessed
-
Making a .exe In LabVIEW 8.2
I'm trying to make a stand alone executable from a vi created in Lab VIEW 8.2. I did not create the vi in a project, but I have moved It into one. I have been unable to make a exe that works on the none Lab VIEW computer. I have Three questions 1. Do
-
G5 Gigabyte Built-in Network Adapter won't connect at 1000
Built-in ethernet adapter will not connect to DLink Gigabyte switch even with a known-good cable. My other G5 connects fine to the switch in the same port. Adapter connects fine to 100mb Linksys switch. Really looks like a driver problem. Is there an
-
Is CT CS3 compatible with Mavericks?
CT ran in 10.8.x, but won't in 10.9.2. The error is "no document types have been found, CT will exit now". What's the fix?
-
BCS Breakdown Check - how to adjust individual records?
Hi all, I just arrived at a new client and have found several thousand inconsitent records. Breakdown check shows us how many there are and also allows entry of a vlue for missing subassignments. However, there is no option to adjust individual lines