I have several different applications that are using the same Remedy hosted 
Custom Web Service and when these applications request the WSDL to get the 
endpoint, all of these applications but one are getting a correct endpoint as 
shown in the midtier log snippet below (I've replaced parts of the hostnames 
with a 1 for 1 character replacement with a * for security purposes)

Correct Endpoint:

<wsdl:service name="A2R_QS_CreateReferal_NewService">
 <wsdl:port binding="s0:A2R_QS_CreateReferal_NewSoapBinding" 
name="A2R_QS_CreateReferal_NewSoap">
  <soap:address 
location="http://p****a.e**.*****.com:80/arsys/services/ARService?server=p*****a&amp;webService=A2R_QS_CreateReferal_New"/>
 </wsdl:port>
</wsdl:service>

But one application is getting the following endpoint returned, and for the 
life of me, I can't figure out why, the one bad one is getting this:

<wsdl:service name="A2R_QS_CreateReferal_NewService">
  <wsdl:port binding="s0:A2R_QS_CreateReferal_NewSoapBinding" 
name="A2R_QS_CreateReferal_NewSoap">
    <soap:address 
location="http://f**p**c3.****.com:8102/arsys/services/ARService?server=p*****a&amp;webService=A2R_QS_CreateReferal_New"/>
 </wsdl:port>
</wsdl:service>

All of these are calling our Mid-Tiers via a loadbalancer, the first example is 
the correct hostname for our loadbalancer, but the second is what I believe is 
the hostname of the calling application.  When I load the WSDL in SoapUI, I get 
the correct endpoint.

Our environment is a pair of midtiers version 7.6.04 ( no SP) hosted on 
Weblogic 11g, our remedy app servers are Remedy 7.6.04, all are running on RHEL6


Here is the whole request from the log for the app that is failing

Apr 23, 2014 12:23:16 PM - FINE (com.remedy.log.WEBSERVICES) : WSDL Request:: 
server: p*****a webService: A2R_QS_CreateReferal_New
Apr 23, 2014 12:23:16 PM - FINE (com.remedy.log.WEBSERVICES) : WSDL Content: 
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="urn:A2R_QS_CreateReferal_New" 
xmlns:s0="urn:A2R_QS_CreateReferal_New" 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
<wsdl:types>
  <xsd:schema elementFormDefault="qualified" 
targetNamespace="urn:A2R_QS_CreateReferal_New">
   <xsd:element name="CreateRequest" type="s0:InputMapping1"/>
   <xsd:complexType name="InputMapping1">
    <xsd:sequence>
     <xsd:element minOccurs="0" name="requestDescription" type="xsd:string"/>
     <xsd:element minOccurs="0" name="productType" type="xsd:string"/>
     <xsd:element minOccurs="0" name="productIdentifier" type="xsd:string"/>
     <xsd:element minOccurs="0" name="serviceType" type="xsd:string"/>
     <xsd:element minOccurs="0" name="serviceLevel" type="xsd:string"/>
     <xsd:element minOccurs="0" name="loginDataEntries" type="xsd:string"/>
    </xsd:sequence>
   </xsd:complexType>
   <xsd:element name="CreateRequestResponse" type="s0:OutputMapping1"/>
   <xsd:complexType name="OutputMapping1">
    <xsd:sequence>
     <xsd:element name="Request_ID" type="xsd:string"/>
    </xsd:sequence>
   </xsd:complexType>
   <xsd:element name="AuthenticationInfo" type="s0:AuthenticationInfo"/>
   <xsd:complexType name="AuthenticationInfo">
    <xsd:sequence>
     <xsd:element name="userName" type="xsd:string"/>
     <xsd:element name="password" type="xsd:string"/>
     <xsd:element minOccurs="0" name="authentication" type="xsd:string"/>
     <xsd:element minOccurs="0" name="locale" type="xsd:string"/>
     <xsd:element minOccurs="0" name="timeZone" type="xsd:string"/>
    </xsd:sequence>
   </xsd:complexType>
 </xsd:schema>
</wsdl:types>
   <wsdl:message name="ARAuthenticate">
      <wsdl:part element="s0:AuthenticationInfo" name="parameters"/>
   </wsdl:message>
   <wsdl:message name="CreateRequestSoapIn">
      <wsdl:part element="s0:CreateRequest" name="parameters"/>
   </wsdl:message>
   <wsdl:message name="CreateRequestSoapOut">
      <wsdl:part element="s0:CreateRequestResponse" name="parameters"/>
   </wsdl:message>
   <wsdl:portType name="A2R_QS_CreateReferal_NewPortType">
      <wsdl:operation name="CreateRequest">
         <wsdl:input message="s0:CreateRequestSoapIn"/>
         <wsdl:output message="s0:CreateRequestSoapOut"/>
      </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name="A2R_QS_CreateReferal_NewSoapBinding" 
type="s0:A2R_QS_CreateReferal_NewPortType">
      <soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
      <wsdl:operation name="CreateRequest">
         <soap:operation 
soapAction="urn:A2R_QS_CreateReferal_New/CreateRequest" style="document"/>
         <wsdl:input>
            <soap:header message="s0:ARAuthenticate" part="parameters" 
use="literal">
            </soap:header>
            <soap:body use="literal"/>
         </wsdl:input>
         <wsdl:output>
            <soap:body use="literal"/>
         </wsdl:output>
      </wsdl:operation>
   </wsdl:binding>
   <wsdl:service name="A2R_QS_CreateReferal_NewService">
      <wsdl:port binding="s0:A2R_QS_CreateReferal_NewSoapBinding" 
name="A2R_QS_CreateReferal_NewSoap">
         <soap:address 
location="http://f**p**c3.****.com:8102/arsys/services/ARService?server=p*****a&amp;webService=A2R_QS_CreateReferal_New"/>
     </wsdl:port>
   </wsdl:service>
</wsdl:definitions>

Log file from a WSDL get request from SoapUI

Apr 25, 2014 7:50:01 PM - FINE (com.remedy.log.WEBSERVICES) : WSDL Request:: 
server: p*****a webService: A2R_QS_CreateReferal_New
Apr 25, 2014 7:50:01 PM - FINE (com.remedy.log.WEBSERVICES) : No security 
policy or security actions! Security filter processing skipped
Apr 25, 2014 7:50:01 PM - FINE (com.remedy.log.WEBSERVICES) : WSDL Content: 
<?xml version="1.0" encoding="UTF-8"?>^M
<wsdl:definitions targetNamespace="urn:A2R_QS_CreateReferal_New" 
xmlns:s0="urn:A2R_QS_CreateReferal_New" 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>^M
<wsdl:types>^M
  <xsd:schema elementFormDefault="qualified" 
targetNamespace="urn:A2R_QS_CreateReferal_New">^M
   <xsd:element name="CreateRequest" type="s0:InputMapping1"/>^M
   <xsd:complexType name="InputMapping1">^M
    <xsd:sequence>^M
     <xsd:element minOccurs="0" name="requestDescription" type="xsd:string"/>^M
     <xsd:element minOccurs="0" name="productType" type="xsd:string"/>^M
     <xsd:element minOccurs="0" name="productIdentifier" type="xsd:string"/>^M
     <xsd:element minOccurs="0" name="serviceType" type="xsd:string"/>^M
     <xsd:element minOccurs="0" name="serviceLevel" type="xsd:string"/>^M
     <xsd:element minOccurs="0" name="loginDataEntries" type="xsd:string"/>^M
    </xsd:sequence>^M
   </xsd:complexType>^M
   <xsd:element name="CreateRequestResponse" type="s0:OutputMapping1"/>^M
   <xsd:complexType name="OutputMapping1">^M
    <xsd:sequence>^M
     <xsd:element name="Request_ID" type="xsd:string"/>^M
    </xsd:sequence>^M
   </xsd:complexType>^M
   <xsd:element name="AuthenticationInfo" type="s0:AuthenticationInfo"/>^M
   <xsd:complexType name="AuthenticationInfo">^M
    <xsd:sequence>^M
     <xsd:element name="userName" type="xsd:string"/>^M
     <xsd:element name="password" type="xsd:string"/>^M
     <xsd:element minOccurs="0" name="authentication" type="xsd:string"/>^M
     <xsd:element minOccurs="0" name="locale" type="xsd:string"/>^M
     <xsd:element minOccurs="0" name="timeZone" type="xsd:string"/>^M
    </xsd:sequence>^M
   </xsd:complexType>^M
  </xsd:schema>^M
</wsdl:types>^M
<wsdl:message name="ARAuthenticate">^M
<wsdl:part element="s0:AuthenticationInfo" name="parameters"/>^M
</wsdl:message>^M
<wsdl:message name="CreateRequestSoapIn">^M
<wsdl:part element="s0:CreateRequest" name="parameters"/>^M
</wsdl:message>^M
<wsdl:message name="CreateRequestSoapOut">^M
<wsdl:part element="s0:CreateRequestResponse" name="parameters"/>^M
</wsdl:message>^M
<wsdl:portType name="A2R_QS_CreateReferal_NewPortType">^M
<wsdl:operation name="CreateRequest">^M
<wsdl:input message="s0:CreateRequestSoapIn"/>^M
<wsdl:output message="s0:CreateRequestSoapOut"/>^M
</wsdl:operation>^M
</wsdl:portType>^M
<wsdl:binding name="A2R_QS_CreateReferal_NewSoapBinding" 
type="s0:A2R_QS_CreateReferal_NewPortType">^M
<soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>^M
<wsdl:operation name="CreateRequest">^M
<soap:operation soapAction="urn:A2R_QS_CreateReferal_New/CreateRequest" 
style="document"/>^M
<wsdl:input>^M
<soap:header message="s0:ARAuthenticate" part="parameters" use="literal">^M
</soap:header>^M
<soap:body use="literal"/>^M
</wsdl:input>^M
<wsdl:output>^M
<soap:body use="literal"/>^M
</wsdl:output>^M
</wsdl:operation>^M
</wsdl:binding>^M
<wsdl:service name="A2R_QS_CreateReferal_NewService">^M
<wsdl:port binding="s0:A2R_QS_CreateReferal_NewSoapBinding" 
name="A2R_QS_CreateReferal_NewSoap">^M
<soap:address 
location="http://p*****.e**.*****.com:80/arsys/services/ARService?server=p*****a&amp;webService=A2R_QS_CreateReferal_New"/>^M
</wsdl:port>^M
</wsdl:service>^M
</wsdl:definitions>^M


Paul Campbell  | Development Team Lead  |  TS&D SSBL, A2R WFE, and ESP Remedy 
Team |  Avaya Client Services  |
|   678-421-5342 |  Web 
Conference<https://collaborate.avaya.com/aacpa/?participantCode=4215342> | 
Audio Conference +1-513-228-8888 code: 4215342

Everyone needs deadlines.  Even the beavers. They loaf around all summer, but 
when they are faced with the winter deadline, they work like fury. If we didn't 
have deadlines, we'd stagnate.  Walt Disney




_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to