cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP_AAE - Invalid QOS

0 Kudos

Hi All,

We are trying to post a message (XML) fro external application to PI and then to CRM. When i am testing the scenario i am getting below error :

"QOS Specified is Invalid: Invalid QOS-"

but when i am testing the same link through SOAP UI it is giving error 404 - Resource not found.

Scenario :

We are trying to post XML from external system to SAP CRM using :

1. HTTP_AAE as sender adapter

2. SOAP as receiver adapter.

When i test the URL system is not even hitting SAP PI as SXMB_MONI has no message.

I have checked the Adapter Log (Communication log) it is giving error as below :

Thanks & Regards,

Akshay Ruia

Accepted Solutions (1)

Accepted Solutions (1)

iaki_vila
Active Contributor
0 Kudos

Hi Akshay,

What URL are you using to call to PI with the http_aae?, you normally has to set the quality of service in the URL or embed in the http call, are you sure that you are setting the right one?. Check the way that William Li composes the call

Regards.

Answers (3)

Answers (3)

0 Kudos

Hi Praveen & Iñaki Vila,


Thanks for your help.


There were some java classes used in ESR which were giving exception.



Thanks & Regards,

Akshay Ruia

iaki_vila
Active Contributor
0 Kudos

HI Akshay,

Are you sure that you have defined your two service interfaces as synchronous?

Regards.

0 Kudos

Hi Iñaki Vila,

Yes, I have defined my Interfaces as synchronous

Thanks & Regards,

Akshay Ruia

0 Kudos

Hi Praveen & Iñaki Vila,

Tool mentioned by Iñaki Vila is finally working for me now. Using HTTP_AAE Adapter URL is getting executed.

Tool is giving below error :

"Namespace for the specified interface is not defined in the request"

any help on this.

Thanks & Regards,

Akshay Ruia

iaki_vila
Active Contributor
0 Kudos

Hi Akshaym

Have you checked the sender interface namespace in your test request is the same the namespace defined in the ESR for your outbound server interface?

Regards

0 Kudos

Hi Iñaki Vila,

It is same. I just saved all the objects and activated again and new error popped up :

<p><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>  Error: ERROR_IN_MODULECHAIN;ERROR_IN_MODULECHAIN, senderChannel &#39;dc22ae36859637c3b982f1f0a7da2fe0&#39;: Catching exception calling messaging system</b></font></p>

I don't know why this is happening. A new error is raised every time i clear cache and activate objects.

Thanks & Regards,

Akshay Ruia.

iaki_vila
Active Contributor
0 Kudos

Hi Akshay,

Try to do a dummy change in the sender channel, as change the description and try.

Also check the audit log in the communication channel monitoring of your sender channel.

Regards.

0 Kudos

Hi Iñaki Vila,

Still the same error.

Audit log is also showing same error

Thanks & Regards,

Akshay Ruia

former_member182412
Active Contributor
0 Kudos

Hi Akshay,

What is the URL which you are using??Use the URL according to below.


You have configured the Java HTTP adapter for the sender channel. To trigger a call to the Java HTTP adapter on the sender channel use the URL: http:// <hostname:port> / <path> ? <query-string>

Where,

  • path = /HttpAdapter/HttpMessageServlet
  • query-string = ?interfaceNamespace= <interfaceNamespace> &interface= <interface> >& senderService= <senderService> &senderParty= <senderParty> &receiverParty=<receiverParty> &receiverService= <receiverService> &qos= <qos> &queueid=<queueid> &msgguid= <msgguid>

Regards,

Praveen.

0 Kudos

Hi Praveen & Iñaki Vila,

Thanks for your response.

@Praveen

I have used QOS as BE and have also pass all the required parameters :

please find the link below :

http://abcd:port/HttpAdapter/HttpMessageServlet?interfaceNamespace=<namespace>:SMS_NEW&interface=SI_GATEWAY_SMS_NEW&senderService=BS_GW_CRM&senderParty&receiverParty=&receiverService=&qos=BE&queueid=&msgguid=&sap-user=<username>&sap-password=<password>&sap-client=<client>&sap-language=EN



@Iñaki Vila,

I have also done testing with the tool you have mentioned. It does not gives any response.

Thanks & Regards,

Akshay Ruia

former_member182412
Active Contributor
0 Kudos

Hi Akshay,

This error is because you are sending the empty queueid which is not allowed because quality of service BE does not use any queues, you only need to set this parameter when you mention quality of service EOIO. remove the query parameters if they are empty example msgguid also. are you passing user name and password? if not remove them also( remove this part if you are not using any of these parameters "&queueid=&msgguid=&sap-user=<username>&sap-password=<password>&sap-client=<client>&sap-language=EN")


http//abcd:port/HttpAdapter/HttpMessageServlet?interfaceNamespace=<namespace>:SMS_NEW&interface=SI_GATEWAY_SMS_NEW&senderService=BS_GW_CRM&senderParty&receiverParty=&receiverService=&qos=BE&queueid=&msgguid=&sap-user=<username>&sap-password=<password>&sap-client=<client>&sap-language=EN

Regards,

Praveen.

0 Kudos

Hi Praveen,

As suggested, i removed the unwanted parameters from URL, still getting the same error.

Thanks & Regards,

Akshay Ruia

former_member182412
Active Contributor
0 Kudos

Can you paste the url which you are using

0 Kudos

Hi Praveen,

Please find the link as below :

Link 1 :

http: //abcd:port/HttpAdapter/HttpMessageServlet?

interfaceNamespace=urn:ais.co.th:ais:SMS_NEW&interface=SI_GATEWAY_SMS_NEW&senderService=BS_GW_CRM&senderParty&receiverParty=&receiverService=&qos=BE&sap-user=username&sap-password=password&sap-client=client&sap-language=EN

Link 2 :

http: //abcd:port/HttpAdapter/HttpMessageServlet?

interfaceNamespace=urn:ais.co.th:ais:SMS_NEW&interface=SI_GATEWAY_SMS_NEW&senderService=BS_GW_CRM&senderParty&receiverParty=&receiverService=&qos=BE&sap-client=client&sap-language=EN

Link 3 :

http: //abcd:port/HttpAdapter/HttpMessageServlet?

interfaceNamespace=urn:ais.co.th:ais:SMS_NEW&interface=SI_GATEWAY_SMS_NEW&senderService=BS_GW_CRM&senderParty&receiverParty=&receiverService=&qos=BE

I have tried with all the combination of queries in the link.

Thanks & Regards,

Akshay Ruia

former_member182412
Active Contributor
0 Kudos

Hi Akshay,

I tested my side and it is working.

Regards,

Praveen.

0 Kudos

Hi Praveen,

Just to check i changed my configuration to normal HTTP Adapter.

it is now giving time out error.

  • Fri Apr 08 13:19:53 ICT 2016:ERROR:Exception in request: java.net.SocketTimeoutException: Read timed out

  • Fri Apr 08 13:19:53 ICT 2016:ERROR:An error occurred [Read timed out], see error log for details

any suggestion on this.

I am also checking the configuration again with HTTP_AAE adapter.

Thanks & Regards,

Akshay Ruia

former_member182412
Active Contributor
0 Kudos

Hi Akshay,

Is the message reached to CRM and get the response from CRM, based on the error there was no response from CRM.

Regards,

Praveen.