[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

q0:DestinationUnreachable 13: HTTP/1.1 500 Internal Server Error



   When I call my new test program I get this message.
   13: HTTP/1.1 500 Internal Server Error
   q0:DestinationUnreachable:
     Microsoft.Web.Services2.Addressing.AddressingFault: Destination
     Unreachable ---> System.Exception: WS
   I think my issue might be related to https vs http.
   If anyone has any thought I would appreciate it.
   Here is some of the httpapi_debug log.  I have omitted most of the
   Certificate and bbbbb'd and ccccc'd and EEEEE'd and xxx'd  out some
   information.
    ************Beginning of data**************
   HTTPAPI Ver 1.24 released 2012-01-23
   OS/400 Ver V7R1M0
   New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
   WSDL2RPG Ver 1.16.3 released 2015-04-19 (V7R1M0)
   ** 2015-04-24-08.05.44.291000: Entering cccccServicePort_helloWorld(),
   compiled for V7R1M0
   New iconv() objects set, PostRem=1208. PostLoc=0. ProtRem=819.
   ProtLoc=0
   ** 2015-04-24-08.05.45.155000: Sending request to server
   http_persist_open(): entered
   http_long_ParseURL(): entered
   DNS resolver retrans: 2
   DNS resolver retry  : 2
   DNS resolver options: x'00000136'
   DNS default domain: ASI.local
   DNS server found: 10.1.14.239
   DNS server found: 10.1.14.239
   https_init(): entered
   -----------------------------------------------------------------------
   --------------
   Dump of local-side certificate information:
   -----------------------------------------------------------------------
   --------------
   -----------------------------------------------------------------------
   --------------
   Dump of server-side certificate information:
   -----------------------------------------------------------------------
   --------------
   Cert Validation Code = 0
   -----BEGIN CERTIFICATE-----
   MIIFPzCCBCegAwIBAgIEUNMAfzANBgkqhkiG9w0BAQsFADCBujELMAkGA1UEBhMC
   ...
   cXvL
   -----END CERTIFICATE-----
   Serial Number: 50:D3:00:7F
   Common Name: services.bbbbb.com
   Country: US
   State/Province: Statexxx
   Locality: Cityxxx
   Org Unit: EEEEE Benefits
   Issuer CN: Entrust Certification Authority - L1K
   Issuer Country: US
   Issuer Org: Entrust, Inc.
   Issuer Org Unit: (c) 2012 Entrust, Inc. - for authorized use only,
   OU=See www.entrust.net/legal-terms
   Version: 3
   not before: 20150115151505
   Unknown Field: 15:15:05 15-01-2015
   not after: 20160927222541
   Unknown Field: 22:25:41 27-09-2016
   pub key alg: 1.2.840.113549.1.1.11
   Protocol Used: TLS Version 1
   http_persist_post(): entered
   http_persist_req(POST) entered.
   http_long_ParseURL(): entered
   do_oper(POST): entered
   There are 0 cookies in the cache
   POST /cccccservice/cccccservice.asmx HTTP/1.1
   Host: services.bbbbb.com
   User-Agent: http-api/1.24
   Content-Length: 409
   Content-Type: text/xml
   SOAPAction: http://services.bbbbb.com/ccccc/v1:helloWorldIn
   sendraw(): entered
   <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
   xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
   xmlns:import1="http://services.bbbbb.com/ccccc/v1/messages";
   xmlns:tns="http://services.bbbbb.com/ccccc/v1";><soapenv:Body><import1:h
   elloWorldRequest><import1:OptionalMessage>kscMessage</import1:OptionalM
   essage></import1:helloWorldRequest></soapenv:Body></soapenv:Envelope>
   recvresp(): entered
   HTTP/1.1 500 Internal Server Error
   Cache-Control: private
   Content-Type: text/xml; charset=utf-8
   X-AspNet-Version: 4.0.30319
   X-Powered-By: ASP.NET
   Date: Fri, 24 Apr 2015 13:05:47 GMT
   Content-Length: 2047
   Set-Cookie:
   bbbbbbbbbbbbbbb=NOEMKIGPJLDIAFPDCKNHHIGOECIEMLBJLACCGKGICCEDNHHNHIIBGAM
   PBLGAKCIJAPKPPBDHKJNEHLOPGDBGLMDIBJOJAPOCCCEIGDGJECEANDHGCHGNBGFBCHLGLP
   DO; HttpOnly; secure
   Set-Cookie:
   TS016cc859=019ddf8b65f87c9f8e30e0dcfdfa412b768cedd3ead7cecb24fcc19adaf9
   2f9a320abf07a51f9d6767a6c5b2cafc6c48dba8b5634e; Path=/
   SetError() #13: HTTP/1.1 500 Internal Server Error
   recvresp(): end with 500
   recvdoc parms: identity 2047
   header_load_cookies() entered
   cookie_parse() entered
   cookie =
   bbbbbbbbbbbbbbb=NOEMKIGPJLDIAFPDCKNHHIGOECIEMLBJLACCGKGICCEDNHHNHIIBGAM
   PBLGAKCIJAPKPPBDHKJNEHLOPGDBGLMDIBJOJAPOCCCEIGDGJECEANDHGCHGNBGFBCHLGLP
   DO; HttpOnly; secure
   cookie attr
   bbbbbbbbbbbbbbb=NOEMKIGPJLDIAFPDCKNHHIGOECIEMLBJLACCGKGICCEDNHHNHIIBGAM
   PBLGAKCIJAPKPPBDHKJNEHLOPGDBGLMDIBJOJAPOCCCEIGDGJECEANDHGCHGNBGFBCHLGLP
   DO
   cookie attr HttpOnly=
   cookie attr secure=
   cookie_parse() entered
   cookie =
   TS016cc859=019ddf8b65f87c9f8e30e0dcfdfa412b768cedd3ead7cecb24fcc19adaf9
   2f9a320abf07a51f9d6767a6c5b2cafc6c48dba8b5634e; Path=/
   cookie attr
   TS016cc859=019ddf8b65f87c9f8e30e0dcfdfa412b768cedd3ead7cecb24fcc19adaf9
   2f9a320abf07a51f9d6767a6c5b2cafc6c48dba8b5634e
   cookie attr Path=/
   recvdoc(): entered
   SetError() #0:
   <?xml version="1.0" encoding="utf-8"?><soap:Envelope
   xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
   xmlns:xsd="http://www.w3.org/2001/XMLSchema";
   xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing";
   xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wss
   ecurity-secext-1.0.xsd"
   xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wsse
   curity-utility-1.0.xsd"><soap:Header><wsa:Action>http://schemas.xmlsoap
   .org/ws/2004/03/addressing/fault</wsa:Action><wsa:MessageID>uuid:6c3f75
   4f-3f43-408e-b348-1b3aa4e8da34</wsa:MessageID><wsa:RelatesTo>uuid:c1f53
   33e-6071-41ac-99e6-63349eaa0775</wsa:RelatesTo><wsa:To>http://schemas.x
   mlsoap.org/ws/2004/03/addressing/role/anonymous</wsa:To><wsse:Security>
   <wsu:Timestamp
   wsu:Id="Timestamp-43249e50-986c-4ec8-a231-349d499f9a51"><wsu:Created>20
   15-04-24T13:05:47Z</wsu:Created><wsu:Expires>2015-04-24T13:10:47Z</wsu:
   Expires></wsu:Timestamp></wsse:Security></soap:Header><soap:Body><soap:
   Fault><faultcode
   xmlns:q0="http://schemas.xmlsoap.org/ws/2004/03/addressing";>q0:Destinat
   ionUnreachable</faultcode><faultstring>Microsoft.Web.Services2.Addressi
   ng.AddressingFault: Destination Unreachable ---&gt; System.Exception:
   WSE817: The &lt;To&gt; header must match the Actor attribute on this
   receiver. The &lt;To&gt; header contained
   "http://services.bbbbb.com/cccccservice/cccccservice.asmx"; whereas the
   Actor attribute was "urn:EEEEEBenefits:Services:V1:cccccService".
      --- End of inner exception stack trace ---
      at
   Microsoft.Web.Services2.WebServicesExtension.AfterDeserialize(SoapMessa
   ge message)
      at
   System.Web.Services.Protocols.SoapMessage.RunExtensions(SoapExtension[]
   extensions, Boolean throwOnException)
      at
   System.Web.Services.Protocols.SoapServerProtocol.CreateServerInstance()
      at System.Web.Services.Protocols.WebServiceHandler.Invoke()
      at
   System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()</f
   aultstring></soap:Fault></soap:Body></soap:Envelope>
   ** 2015-04-24-08.05.47.607000: Preparing to parse received message
   Warning: Received unexpected Soap header: <Action>
   Warning: Received unexpected Soap header:
   http://schemas.xmlsoap.org/ws/2004/03/addressing/fault
   Warning: Received unexpected Soap header: </Action>
   Warning: Received unexpected Soap header: <MessageID>
   Warning: Received unexpected Soap header:
   uuid:6c3f754f-3f43-408e-b348-1b3aa4e8da34
   Warning: Received unexpected Soap header: </MessageID>
   Warning: Received unexpected Soap header: <RelatesTo>
   Warning: Received unexpected Soap header:
   uuid:c1f5333e-6071-41ac-99e6-63349eaa0775
   Warning: Received unexpected Soap header: </RelatesTo>
   Warning: Received unexpected Soap header: <To>
   Warning: Received unexpected Soap header:
   http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
   Warning: Received unexpected Soap header: </To>
   Warning: Received unexpected Soap header: <Security>
   Warning: Received unexpected Soap header: <Timestamp>
   Warning: Received unexpected Soap header: <Created>
   Warning: Received unexpected Soap header: 2015-04-24T13:05:47Z
   Warning: Received unexpected Soap header: </Created>
   Warning: Received unexpected Soap header: <Expires>
   Warning: Received unexpected Soap header: 2015-04-24T13:10:47Z
   Warning: Received unexpected Soap header: </Expires>
   Warning: Received unexpected Soap header:
   Warning: Received unexpected Soap header: </Timestamp>
   Warning: Received unexpected Soap header:
   Warning: Received unexpected Soap header: </Security>
   SetError() #13: HTTP/1.1 500 Internal Server Error
   http_close(): entered
   HTTPAPI Ver 1.24 released 2012-01-23
   OS/400 Ver V7R1M0
   ** 2015-04-24-08.05.47.826000: Leaving cccccServicePort_helloWorld()
    ************End of Data********************

   TIA
   Kerwin Crawford
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------