on 04-07-2008 12:19 PM
Experts,
My scenario is sync File to SOAP.
I am using File - bpm - soap - bpm - file.
I am trying to send a query to google in file with SOAP message and expecting a response back.
But in SOAP Adapter I am getting this error.
com.sap.aii.messaging.util.URI$MalformedURIException: invalid port number
2008-04-05 07:49:31 Success Message successfully received by messaging system. Profile: XI URL: http://xibox:50000/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER
2008-04-05 07:49:31 Success Using connection SOAP_http://sap.com/xi/XI/System. Trying to put the message into the request queue.
2008-04-05 07:49:31 Success Message successfully put into the queue.
2008-04-05 07:49:31 Success The message was successfully retrieved from the request queue.
2008-04-05 07:49:31 Success The message status set to DLNG.
2008-04-05 07:49:31 Success Delivering to channel: CC_SOAP_Google
2008-04-05 07:49:31 Success MP: entering
2008-04-05 07:49:31 Success MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
2008-04-05 07:49:31 Success SOAP: request message entering the adapter with user J2EE_GUEST
2008-04-05 07:49:31 Error SOAP: call failed: com.sap.aii.messaging.util.URI$MalformedURIException: invalid port number:
Could you pls tell me which piece I missed?
Regards,
AV.
I think this Google service is not longer available.
Did you check this already?
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try to check if your port is reachable by using telnet command where you have XI system installed
like
telnet www.google.com 80
If u get http responce that means connection to google is up
.
Normally when develop on the system on which internet connection has blocked you get this error
Ps: if helpful pl give points
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
what's your URL in the SOAP receiver adapter? You have not correct port number, you have some characters tehere probably.
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Peter for your reply.
In SOAP Receiver adapter, it asks for proxy port no.
Are you asking about that? I have provided that.
URL which I specified was http://api.google.com/search/beta2
Regards,
AV.
Hi,
what's your transport protocol?
In the "Target URL" you have only http://api.google.com/search/beta2 ? or do you also specify a port like
http://api.google.com/search/beta2:80.
What value do you have in the proxy port number? And what value do you have in the proxy host parameter?
Peter
Edited by: Peter Jarunek on Apr 7, 2008 1:33 PM
Hi Peter,
I have also tried with URL http://api.google.com/search/beta2:80
but I am getting same error.
Proxy port number is also 80.
Regards,
AV.
I'm sending below SOAP message.
<?xml version='1.0' encoding='UTF-8'?>
<soap11:Envelope
xmlns="urn:GoogleSearch"
xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/">
<soap11:Body>
<doGoogleSearch>
<!-- <key>00000000000000000000000000000000</key>-->
<key>1</key>
<q>shrdlu winograd maclisp teletype</q>
<start>0</start>
<maxResults>10</maxResults>
<filter>true</filter>
<restrict></restrict>
<safeSearch>false</safeSearch>
<lr></lr>
<ie>latin1</ie>
<oe>latin1</oe>
</doGoogleSearch>
</soap11:Body>
</soap11:Envelope>
Anirudh,
If you want to use port 80 as the target, there is no need to specify it in the Target URL, so use just URL wothout ":80"...
But specify it in the port for Proxy..
CHECK IN BOTH, if there are not any "other" characters - blank spaces, anything... it must be just a number
Your error is there because it is not just a number I believe..
Peter
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.