cancel
Showing results for 
Search instead for 
Did you mean: 

xMII as a webservice

Former Member
0 Kudos

Hi All,

I am having a problem in accessing a web service thought xMII (as a client) in web service action.

I am able to configure the parameters properly (so it is reading the WSDL file properly)

While executing the transaction it says

[C551DF27-EA4B-296E-4C30-15CA6DB91AFE][ERROR]: Error Invoking Web Service Action: host parameter is null TMP7479D262-EC17-920E-150B-50413F3129D3

I am able to access the same web service using other clients like Altova xmlSpy and Apache Axis......

Please help.

Regards,

Piyush

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

xMII can not handle redirection in webservice requests now. The matter is to be sorted out with xMII developement Team

Former Member
0 Kudos

Take a look at the WSDL, specifically look for the SOAP endpoint/target. What does it show?

If you are behind a firewall, perhaps you need to configure proxy server settings to access an external web service. Do this is the System Administration menu option on the xMII main menu.l

- Rick

Former Member
0 Kudos

Hi,

Thanks for the suggestion.

I am executing it on my local system and I am able to access other web services in outside world using xMII.

here is the WSDL for you

<?xml version="1.0" encoding="utf-8" ?>

- <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s3="http://auto2.com/Catalyst/Schema/Types/v1" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.auto.com/" xmlns:s4="http://microsoft.com/wsdl/types/" xmlns:s1="http://www.auto.com" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s2="http://auto2.com/Catalyst/HistorySubmission/v1" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:s5="http://auto2.com/Catalyst/v1" targetNamespace="http://www.auto.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Query for data from the RAPID product line</wsdl:documentation>

- <wsdl:types>

- <s:schema elementFormDefault="qualified" targetNamespace="http://www.auto.com/">

<s:import namespace="http://www.auto.com" />

<s:import namespace="http://auto2.com/Catalyst/HistorySubmission/v1" />

<s:import namespace="http://auto2.com/Catalyst/v1" />

- <s:element name="QueryValues">

- <s:complexType>

- <s:sequence>

<s:element minOccurs="1" maxOccurs="1" name="StartTime" type="s:dateTime" />

<s:element minOccurs="1" maxOccurs="1" name="EndTime" type="s:dateTime" />

<s:element minOccurs="0" maxOccurs="1" name="Identifier" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="Qualifier" type="s:string" />

<s:element minOccurs="1" maxOccurs="1" name="Bounding" type="s:boolean" />

<s:element minOccurs="1" maxOccurs="1" name="Aggregate" type="tns:AggregateType" />

<s:element minOccurs="1" maxOccurs="1" name="ResampleCount" type="s:int" />

<s:element minOccurs="1" maxOccurs="1" name="recursive" type="s:boolean" />

</s:sequence>

</s:complexType>

</s:element>

- <s:simpleType name="AggregateType">

- <s:restriction base="s:string">

<s:enumeration value="OPCHDA_NOAGGREGATE" />

<s:enumeration value="OPCHDA_INTERPOLATIVE" />

<s:enumeration value="OPCHDA_TOTAL" />

<s:enumeration value="OPCHDA_AVERAGE" />

<s:enumeration value="OPCHDA_TIMEAVERAGE" />

<s:enumeration value="OPCHDA_COUNT" />

<s:enumeration value="OPCHDA_STDEV" />

<s:enumeration value="OPCHDA_MINIMUMACTUALTIME" />

<s:enumeration value="OPCHDA_MINIMUM" />

<s:enumeration value="OPCHDA_MAXIMUMACTUALTIME" />

<s:enumeration value="OPCHDA_MAXIMUM" />

<s:enumeration value="OPCHDA_START" />

<s:enumeration value="OPCHDA_END" />

<s:enumeration value="OPCHDA_DELTA" />

<s:enumeration value="OPCHDA_REGSLOPE" />

<s:enumeration value="OPCHDA_REGCONST" />

<s:enumeration value="OPCHDA_REGDEV" />

<s:enumeration value="OPCHDA_VARIANCE" />

<s:enumeration value="OPCHDA_RANGE" />

<s:enumeration value="OPCHDA_DURATIONGOOD" />

<s:enumeration value="OPCHDA_DURATIONBAD" />

<s:enumeration value="OPCHDA_PERCENTGOOD" />

<s:enumeration value="OPCHDA_PERCENTBAD" />

<s:enumeration value="OPCHDA_WORSTQUALITY" />

<s:enumeration value="OPCHDA_ANNOTATIONS" />

<s:enumeration value="CUSTOMHDA_TIME_AT_MIN" />

<s:enumeration value="CUSTOMHDA_AGG_TIME_AT_MAX" />

<s:enumeration value="CUSTOMHDA_AGG_IGNORE_NEGATIVES" />

<s:enumeration value="CUSTOMHDA_MINIMUMBATCH" />

<s:enumeration value="CUSTOMHDA_MAXIMUMBATCH" />

<s:enumeration value="CUSTOMHDA_MINIMUMACTUALTIMEBATCH" />

<s:enumeration value="CUSTOMHDA_MAXIMUMACTUALTIMEBATCH" />

<s:enumeration value="CUSTOMHDA_DELTABATCH" />

<s:enumeration value="CUSTOMHDA_RANGEBATCH" />

<s:enumeration value="CUSTOMHDA_AGG_TIME_AT_MINBATCH" />

<s:enumeration value="CUSTOMHDA_AGG_TIME_AT_MAXBATCH" />

<s:enumeration value="CUSTOMHDA_AGG_SUM_OF_POSITIVE_DELTAS" />

<s:enumeration value="CUSTOMHDA_LINEARINTERPOLATIVE" />

<s:enumeration value="CUSTOMHDA_LINEARTOTAL" />

<s:enumeration value="CUSTOMHDA_LINEARTIMEAVERAGE" />

<s:enumeration value="CUSTOMHDA_PLOT_VALUES" />

</s:restriction>

</s:simpleType>

- <s:element name="QueryValuesResponse">

- <s:complexType>

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" ref="s1:ParameterValue" />

</s:sequence>

</s:complexType>

</s:element>

- <s:element name="QueryEvents">

- <s:complexType>

- <s:sequence>

<s:element minOccurs="1" maxOccurs="1" name="StartTime" type="s:dateTime" />

<s:element minOccurs="1" maxOccurs="1" name="EndTime" type="s:dateTime" />

</s:sequence>

</s:complexType>

</s:element>

- <s:element name="QueryEventsResponse">

- <s:complexType>

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" ref="s2:BatchSegmentHistoryEventMessageCollection" />

</s:sequence>

</s:complexType>

</s:element>

- <s:element name="QueryEventsOnDB">

- <s:complexType>

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="dbName" type="s:string" />

<s:element minOccurs="1" maxOccurs="1" name="StartTime" type="s:dateTime" />

<s:element minOccurs="1" maxOccurs="1" name="EndTime" type="s:dateTime" />

</s:sequence>

</s:complexType>

</s:element>

- <s:element name="QueryEventsOnDBResponse">

- <s:complexType>

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" ref="s2:BatchSegmentHistoryEventMessageCollection" />

</s:sequence>

</s:complexType>

</s:element>

- <s:element name="AddRecipeDefinition">

- <s:complexType>

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" ref="s5:RecipeDefinition" />

</s:sequence>

</s:complexType>

</s:element>

- <s:element name="AddRecipeDefinitionResponse">

<s:complexType />

</s:element>

</s:schema>

- <s:schema elementFormDefault="qualified" targetNamespace="http://www.auto.com">

<s:element name="ParameterValue" type="s1:ParameterValueType" />

- <s:complexType name="ParameterValueType">

- <s:sequence>

- <s:choice minOccurs="1" maxOccurs="1">

<s:element minOccurs="0" maxOccurs="1" name="EventValues" type="s1:EventValueCollectionType" />

<s:element minOccurs="0" maxOccurs="1" name="ReportedValues" type="s1:ProcessDataValueCollectionType" />

<s:element minOccurs="0" maxOccurs="1" name="Downloads" type="s1:EventValueCollectionType" />

<s:element minOccurs="0" maxOccurs="1" name="UserActions" type="s1:EventValueCollectionType" />

<s:element minOccurs="0" maxOccurs="1" name="ProcessDataValues" type="s1:ProcessDataValueCollectionType" />

<s:element minOccurs="0" maxOccurs="1" name="AlarmValues" type="s1:AlarmValueCollectionType" />

</s:choice>

</s:sequence>

<s:attribute default="DATA_OK" name="dataState" type="s1:DataStateType" />

<s:attribute default="false" name="moreData" type="s:boolean" />

</s:complexType>

- <s:complexType name="EventValueCollectionType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="unbounded" name="EventValues" type="s1:EventValueType" />

</s:sequence>

<s:attribute default="" name="falseAttribute" type="s:string" />

</s:complexType>

- <s:complexType name="EventValueType">

- <s:complexContent mixed="false">

- <s:extension base="s1:ValueDefinitionType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="Source" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="Type" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="EventCategory" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="Severity" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="ActorID" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="Attribute" type="s:string" />

</s:sequence>

</s:extension>

</s:complexContent>

</s:complexType>

- <s:complexType name="ValueDefinitionType">

<s:attribute name="timestamp" type="s:dateTime" use="required" />

</s:complexType>

- <s:complexType name="AlarmValueType">

- <s:complexContent mixed="false">

- <s:extension base="s1:ValueDefinitionType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="Source" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="id" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="Type" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="EventCategory" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="Severity" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="ActorID" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="ConditionName" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="SubConditionName" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="NewState" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="Quality" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="AcknowledgeRequired" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="ActiveTime" type="s:string" />

</s:sequence>

</s:extension>

</s:complexContent>

</s:complexType>

- <s:complexType name="ProcessDataValueType">

- <s:complexContent mixed="false">

- <s:extension base="s1:ValueDefinitionType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="Value" type="s:string" />

</s:sequence>

<s:attribute name="quality" type="s:int" use="required" />

<s:attribute default="" name="engineeringUnitLabel" type="s:string" />

<s:attribute default="" name="parameterName" type="s:string" />

<s:attribute default="" name="phaseName" type="s:string" />

</s:extension>

</s:complexContent>

</s:complexType>

- <s:complexType name="ProcessDataValueCollectionType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="unbounded" name="ProcessDataValues" type="s1:ProcessDataValueType" />

</s:sequence>

<s:attribute default="" name="engineeringUnitLabel" type="s:string" />

<s:attribute name="dataType" type="s:string" />

</s:complexType>

- <s:complexType name="AlarmValueCollectionType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="unbounded" name="AlarmValues" type="s1:AlarmValueType" />

</s:sequence>

<s:attribute default="" name="falseAttribute" type="s:string" />

</s:complexType>

- <s:simpleType name="DataStateType">

- <s:restriction base="s:string">

<s:enumeration value="INCOMPLETE" />

<s:enumeration value="DATA_OK" />

</s:restriction>

</s:simpleType>

</s:schema>

- <s:schema elementFormDefault="qualified" targetNamespace="http://auto2.com/Catalyst/HistorySubmission/v1">

<s:import namespace="http://auto2.com/Catalyst/Schema/Types/v1" />

<s:import namespace="http://microsoft.com/wsdl/types/" />

<s:element name="BatchSegmentHistoryEventMessageCollection" type="s2:BatchSegmentHistoryEventMessageCollectionType" />

- <s:complexType name="BatchSegmentHistoryEventMessageCollectionType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="ExternalSystemId" type="s3:UID" />

<s:element minOccurs="0" maxOccurs="1" name="Facility" type="s3:UID" />

<s:element minOccurs="0" maxOccurs="unbounded" name="BatchSegmentHistoryEventMessage" type="s2:BatchSegmentHistoryEventMessageType" />

</s:sequence>

</s:complexType>

- <s:complexType name="BatchSegmentHistoryEventMessageType">

- <s:complexContent mixed="false">

- <s:extension base="s2:HistoryEventMessageType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="BatchUnitHistoryEventMessages" type="s2:ArrayOfBatchUnitHistoryEventMessageType" />

</s:sequence>

<s:attribute name="recipeName" type="s:string" />

</s:extension>

</s:complexContent>

</s:complexType>

- <s:complexType name="HistoryEventMessageType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="BatchId" type="s3:UID" />

<s:element minOccurs="0" maxOccurs="1" name="TaskId" type="s3:UID" />

<s:element minOccurs="0" maxOccurs="1" name="ParentId" type="s3:UID" />

</s:sequence>

<s:attribute name="splitName" type="s:string" />

<s:attribute name="modelTaskUid" type="s4:guid" use="required" />

<s:attribute name="startTime" type="s:dateTime" use="required" />

<s:attribute default="1800-01-01T05:30:00+05:30" name="endTime" type="s:dateTime" />

<s:attribute name="allowReprocess" type="s:boolean" />

</s:complexType>

- <s:complexType name="BatchHistoryEventMessageType">

- <s:complexContent mixed="false">

- <s:extension base="s2:HistoryEventMessageType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="BatchSegmentHistoryEventMessages" type="s2:ArrayOfBatchSegmentHistoryEventMessageType" />

</s:sequence>

</s:extension>

</s:complexContent>

</s:complexType>

- <s:complexType name="ArrayOfBatchSegmentHistoryEventMessageType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="unbounded" name="BatchSegmentHistoryEventMessage" type="s2:BatchSegmentHistoryEventMessageType" />

</s:sequence>

</s:complexType>

- <s:complexType name="BatchUnitHistoryEventMessageType">

- <s:complexContent mixed="false">

- <s:extension base="s2:HistoryEventMessageType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="UnitId" type="s3:UID" />

<s:element minOccurs="0" maxOccurs="1" name="OperationHistoryEventMessages" type="s2:ArrayOfOperationHistoryEventMessageType" />

</s:sequence>

</s:extension>

</s:complexContent>

</s:complexType>

- <s:complexType name="ArrayOfOperationHistoryEventMessageType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="unbounded" name="OperationHistoryEventMessage" type="s2:OperationHistoryEventMessageType" />

</s:sequence>

</s:complexType>

- <s:complexType name="OperationHistoryEventMessageType">

- <s:complexContent mixed="false">

- <s:extension base="s2:HistoryEventMessageType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="OperationStepHistoryEventMessages" type="s2:ArrayOfOperationStepHistoryEventMessageType" />

</s:sequence>

</s:extension>

</s:complexContent>

</s:complexType>

- <s:complexType name="ArrayOfOperationStepHistoryEventMessageType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="unbounded" name="OperationStepHistoryEventMessage" type="s2:OperationStepHistoryEventMessageType" />

</s:sequence>

</s:complexType>

- <s:complexType name="OperationStepHistoryEventMessageType">

- <s:complexContent mixed="false">

- <s:extension base="s2:HistoryEventMessageType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="PhaseHistoryEventMessages" type="s2:ArrayOfPhaseHistoryEventMessageType" />

</s:sequence>

</s:extension>

</s:complexContent>

</s:complexType>

- <s:complexType name="ArrayOfPhaseHistoryEventMessageType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="unbounded" name="PhaseHistoryEventMessage" type="s2:PhaseHistoryEventMessageType" />

</s:sequence>

</s:complexType>

- <s:complexType name="PhaseHistoryEventMessageType">

- <s:complexContent mixed="false">

<s:extension base="s2:HistoryEventMessageType" />

</s:complexContent>

</s:complexType>

- <s:complexType name="ArrayOfBatchUnitHistoryEventMessageType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="unbounded" name="BatchUnitHistoryEventMessage" type="s2:BatchUnitHistoryEventMessageType" />

</s:sequence>

</s:complexType>

</s:schema>

- <s:schema elementFormDefault="qualified" targetNamespace="http://auto2.com/Catalyst/Schema/Types/v1">

<s:import namespace="http://microsoft.com/wsdl/types/" />

- <s:complexType name="UID">

- <s:sequence>

<s:element minOccurs="1" maxOccurs="1" name="uid" type="s4:guid" />

<s:element minOccurs="0" maxOccurs="1" name="id" type="s:token" />

</s:sequence>

</s:complexType>

</s:schema>

- <s:schema elementFormDefault="qualified" targetNamespace="http://microsoft.com/wsdl/types/">

- <s:simpleType name="guid">

- <s:restriction base="s:string">

<s:pattern value="[0-9a-fA-F]-[0-9a-fA-F]-[0-9a-fA-F]-[0-9a-fA-F]-[0-9a-fA-F]" />

</s:restriction>

</s:simpleType>

</s:schema>

- <s:schema elementFormDefault="qualified" targetNamespace="http://auto2.com/Catalyst/v1">

<s:element name="RecipeDefinition" type="s5:RecipeDefinitionType" />

- <s:complexType name="RecipeDefinitionType">

- <s:complexContent mixed="false">

- <s:extension base="s5:TaskDefinitionType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="Units" type="s5:ArrayOfUnitDefinitionType" />

</s:sequence>

<s:attribute name="ModelUid" type="s:string" />

</s:extension>

</s:complexContent>

</s:complexType>

- <s:complexType name="TaskDefinitionType">

<s:attribute name="Name" type="s:string" />

<s:attribute name="Uid" type="s:string" />

<s:attribute default="" name="AlternateId" type="s:string" />

</s:complexType>

- <s:complexType name="PhaseDefinitionType">

- <s:complexContent mixed="false">

<s:extension base="s5:TaskDefinitionType" />

</s:complexContent>

</s:complexType>

- <s:complexType name="OperationStepDefinitionType">

- <s:complexContent mixed="false">

- <s:extension base="s5:TaskDefinitionType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="PhaseDefinitions" type="s5:ArrayOfPhaseDefinitionType" />

</s:sequence>

</s:extension>

</s:complexContent>

</s:complexType>

- <s:complexType name="ArrayOfPhaseDefinitionType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="unbounded" name="PhaseDefinition" type="s5:PhaseDefinitionType" />

</s:sequence>

</s:complexType>

- <s:complexType name="OperationDefinitionType">

- <s:complexContent mixed="false">

- <s:extension base="s5:TaskDefinitionType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="OperationStepDefinitions" type="s5:ArrayOfOperationStepDefinitionType" />

</s:sequence>

</s:extension>

</s:complexContent>

</s:complexType>

- <s:complexType name="ArrayOfOperationStepDefinitionType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="unbounded" name="OperationStepDefinition" type="s5:OperationStepDefinitionType" />

</s:sequence>

</s:complexType>

- <s:complexType name="UnitDefinitionType">

- <s:complexContent mixed="false">

- <s:extension base="s5:TaskDefinitionType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="OperationDefinitions" type="s5:ArrayOfOperationDefinitionType" />

</s:sequence>

</s:extension>

</s:complexContent>

</s:complexType>

- <s:complexType name="ArrayOfOperationDefinitionType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="unbounded" name="OperationDefinition" type="s5:OperationDefinitionType" />

</s:sequence>

</s:complexType>

- <s:complexType name="ArrayOfUnitDefinitionType">

- <s:sequence>

<s:element minOccurs="0" maxOccurs="unbounded" name="UnitDefinition" type="s5:UnitDefinitionType" />

</s:sequence>

</s:complexType>

</s:schema>

</wsdl:types>

- <wsdl:message name="QueryValuesSoapIn">

<wsdl:part name="parameters" element="tns:QueryValues" />

</wsdl:message>

- <wsdl:message name="QueryValuesSoapOut">

<wsdl:part name="parameters" element="tns:QueryValuesResponse" />

</wsdl:message>

- <wsdl:message name="QueryEventsSoapIn">

<wsdl:part name="parameters" element="tns:QueryEvents" />

</wsdl:message>

- <wsdl:message name="QueryEventsSoapOut">

<wsdl:part name="parameters" element="tns:QueryEventsResponse" />

</wsdl:message>

- <wsdl:message name="QueryEventsOnDBSoapIn">

<wsdl:part name="parameters" element="tns:QueryEventsOnDB" />

</wsdl:message>

- <wsdl:message name="QueryEventsOnDBSoapOut">

<wsdl:part name="parameters" element="tns:QueryEventsOnDBResponse" />

</wsdl:message>

- <wsdl:message name="AddRecipeDefinitionSoapIn">

<wsdl:part name="parameters" element="tns:AddRecipeDefinition" />

</wsdl:message>

- <wsdl:message name="AddRecipeDefinitionSoapOut">

<wsdl:part name="parameters" element="tns:AddRecipeDefinitionResponse" />

</wsdl:message>

- <wsdl:portType name="RAPIDQueryServiceSoap">

- <wsdl:operation name="QueryValues">

<wsdl:input message="tns:QueryValuesSoapIn" />

<wsdl:output message="tns:QueryValuesSoapOut" />

</wsdl:operation>

- <wsdl:operation name="QueryEvents">

<wsdl:input message="tns:QueryEventsSoapIn" />

<wsdl:output message="tns:QueryEventsSoapOut" />

</wsdl:operation>

- <wsdl:operation name="QueryEventsOnDB">

<wsdl:input message="tns:QueryEventsOnDBSoapIn" />

<wsdl:output message="tns:QueryEventsOnDBSoapOut" />

</wsdl:operation>

- <wsdl:operation name="AddRecipeDefinition">

<wsdl:input message="tns:AddRecipeDefinitionSoapIn" />

<wsdl:output message="tns:AddRecipeDefinitionSoapOut" />

</wsdl:operation>

</wsdl:portType>

- <wsdl:binding name="RAPIDQueryServiceSoap" type="tns:RAPIDQueryServiceSoap">

<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />

- <wsdl:operation name="QueryValues">

<soap:operation soapAction="http://www.auto.com/QueryValues" style="document" />

- <wsdl:input>

<soap:body use="literal" />

</wsdl:input>

- <wsdl:output>

<soap:body use="literal" />

</wsdl:output>

</wsdl:operation>

- <wsdl:operation name="QueryEvents">

<soap:operation soapAction="http://www.auto.com/QueryEvents" style="document" />

- <wsdl:input>

<soap:body use="literal" />

</wsdl:input>

- <wsdl:output>

<soap:body use="literal" />

</wsdl:output>

</wsdl:operation>

- <wsdl:operation name="QueryEventsOnDB">

<soap:operation soapAction="http://www.auto.com/QueryEventsOnDB" style="document" />

- <wsdl:input>

<soap:body use="literal" />

</wsdl:input>

- <wsdl:output>

<soap:body use="literal" />

</wsdl:output>

</wsdl:operation>

- <wsdl:operation name="AddRecipeDefinition">

<soap:operation soapAction="http://www.auto.com/AddRecipeDefinition" style="document" />

- <wsdl:input>

<soap:body use="literal" />

</wsdl:input>

- <wsdl:output>

<soap:body use="literal" />

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

- <wsdl:binding name="RAPIDQueryServiceSoap12" type="tns:RAPIDQueryServiceSoap">

<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />

- <wsdl:operation name="QueryValues">

<soap12:operation soapAction="http://www.auto.com/QueryValues" style="document" />

- <wsdl:input>

<soap12:body use="literal" />

</wsdl:input>

- <wsdl:output>

<soap12:body use="literal" />

</wsdl:output>

</wsdl:operation>

- <wsdl:operation name="QueryEvents">

<soap12:operation soapAction="http://www.auto.com/QueryEvents" style="document" />

- <wsdl:input>

<soap12:body use="literal" />

</wsdl:input>

- <wsdl:output>

<soap12:body use="literal" />

</wsdl:output>

</wsdl:operation>

- <wsdl:operation name="QueryEventsOnDB">

<soap12:operation soapAction="http://www.auto.com/QueryEventsOnDB" style="document" />

- <wsdl:input>

<soap12:body use="literal" />

</wsdl:input>

- <wsdl:output>

<soap12:body use="literal" />

</wsdl:output>

</wsdl:operation>

- <wsdl:operation name="AddRecipeDefinition">

<soap12:operation soapAction="http://www.auto.com/AddRecipeDefinition" style="document" />

- <wsdl:input>

<soap12:body use="literal" />

</wsdl:input>

- <wsdl:output>

<soap12:body use="literal" />

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

- <wsdl:service name="RAPIDQueryService">

<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Query for data from the RAPID product line</wsdl:documentation>

- <wsdl:port name="RAPIDQueryServiceSoap" binding="tns:RAPIDQueryServiceSoap">

<soap:address location="http://localhost/RAPIDQuery/RAPIDQueryService.asmx" />

</wsdl:port>

- <wsdl:port name="RAPIDQueryServiceSoap12" binding="tns:RAPIDQueryServiceSoap12">

<soap12:address location="http://localhost/RAPIDQuery/RAPIDQueryService.asmx" />

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

Regards

Piyush

Former Member
0 Kudos

Hi Rick,

I have dug more on this...the request is going to the Web service host (which is IIS) and then IIS is redirecting it (throwing a HTTP 302 error)....

Now as i told the web service is pretty much operable from other web service clients like Altova xmlSpy and Axis......

I wonder why this is happening with xMII only...... how can i see "the HTTP request sent by xMII" so that i can match the SOAP with that xmlSPY is sending.

unfortunately xMII logs (SOAPRunner log is not sufficient)

Can i get some of xMII developers to answer this.....

Thanks & Regards....

Piyush

Former Member
0 Kudos

Hi, Piyush.

I wrote much of xMII.

I looked in the code, and in the case of redirection, the SOAPAction HTTP header is not being properly sent in the SOAPClient class. Please enter a CSS request in the SAP customer support system and the xMII team can get a fix together for you.

To save them time, in your CSS message, include what I've written above.

Best regards,

- Rick

sufw
Active Participant
0 Kudos

Hi Piyush,

I'd suggest you install Wireshark (formerly known as Ethereal) on the xMII machine to capture its network traffic. That way you can see exactly what's sent and received.

Sascha

Former Member
0 Kudos

You can work around the Web Service action by using the HTTP Post action. We have to because the Web Service action still can't cope with our WS-Security nodes in the SOAP header.

To use the HTTP Post action for a web service call you have to use one small hack. Most web service stacks expect to see a SOAPAction HTTP header which the HTTP Post action obviously doesn't provide. You can stick one in by "overloading" the HTTP Post action's ContentType by assigning it a value like this:


"text/xml" & crlf & "SOAPAction: "http://www.foo.com/services/Blah""

Then put your full SOAP message in the body of the HTTP Post action.

-tim

Former Member
0 Kudos

Hi,

I did using POST method.... but the result is same......

its a redirection problem......

i tried using the Eathreal for packet sniffing ..but not successful.....

Is there any other way i can see the SOAP generated by xMII...

Attaching the Runner log for the POST requst....

04-26 09:59:09,562 INFO Runner [982093D4-EF31-760A-3A97-198BC2D6EB36][TRACE]: Execution Completed At: 09:59:09 Elapsed Time was 16 mS TMP020A36B9-0524-C2EA-4A7A-9BE138EAA9D2

2007-04-26 09:59:09,562 DEBUG Runner [982093D4-EF31-760A-3A97-198BC2D6EB36][DEBUG]: End Transaction 'TMP020A36B9-0524-C2EA-4A7A-9BE138EAA9D2' TMP020A36B9-0524-C2EA-4A7A-9BE138EAA9D2

2007-04-26 09:59:09,562 DEBUG Runner [982093D4-EF31-760A-3A97-198BC2D6EB36][DEBUG]: End Sequence Sequence : () TMP020A36B9-0524-C2EA-4A7A-9BE138EAA9D2

2007-04-26 09:59:09,562 ERROR Runner [982093D4-EF31-760A-3A97-198BC2D6EB36][ERROR]: ACTION FAILED: End Action Post_0 : () TMP020A36B9-0524-C2EA-4A7A-9BE138EAA9D2

2007-04-26 09:59:09,562 ERROR Runner [982093D4-EF31-760A-3A97-198BC2D6EB36][ERROR]: Post error: java.lang.IllegalArgumentException: host parameter is null TMP020A36B9-0524-C2EA-4A7A-9BE138EAA9D2

2007-04-26 09:59:09,562 DEBUG Runner [982093D4-EF31-760A-3A97-198BC2D6EB36][DEBUG]: Post Action: Redirected TMP020A36B9-0524-C2EA-4A7A-9BE138EAA9D2

2007-04-26 09:59:09,562 DEBUG Runner [982093D4-EF31-760A-3A97-198BC2D6EB36][DEBUG]: Post Action: executed initial post. TMP020A36B9-0524-C2EA-4A7A-9BE138EAA9D2

2007-04-26 09:59:09,546 DEBUG Runner [982093D4-EF31-760A-3A97-198BC2D6EB36][DEBUG]: Begin Action Post_0 : () TMP020A36B9-0524-C2EA-4A7A-9BE138EAA9D2

2007-04-26 09:59:09,546 DEBUG Runner [982093D4-EF31-760A-3A97-198BC2D6EB36][DEBUG]: Begin Sequence Sequence : () TMP020A36B9-0524-C2EA-4A7A-9BE138EAA9D2

2007-04-26 09:59:09,546 DEBUG Runner [982093D4-EF31-760A-3A97-198BC2D6EB36][DEBUG]: Begin Transaction 'TMP020A36B9-0524-C2EA-4A7A-9BE138EAA9D2' TMP020A36B9-0524-C2EA-4A7A-9BE138EAA9D2

2007-04-26 09:59:09,546 INFO Runner [982093D4-EF31-760A-3A97-198BC2D6EB36][TRACE]: Execution Started At: 09:59:09 TMP020A36B9-0524-C2EA-4A7A-9BE138EAA9D2

Thanks for the help...

Former Member
0 Kudos

Hi Rick,

Nice to know you are there the developer for xMII.

Can you please tell me how to see the request responses more closely in xMII. (Does it get logged somewhere).

Can you please get me the URL for SAP CSS.

Thanks

Piyush.

Former Member
0 Kudos

Go get <a href="http://ws.apache.org/commons/tcpmon/index.html">apache tcpmon</a>. It will listen on one port and forward the request to another machine/port. It logs and displays all the request and response traffic. Check the "XML Format" checkbox to pretty-print the SOAP message. It will show all the HTTP headers too.

Very useful tool, but it does have a memory leak so you can't keep it running for days. It also has some difficulty with large messages.

-tim

Former Member
0 Kudos

Piyush:

As mentioned, you will NOT get this working without a fix from the xMII team.

I am no longer an xMII developer - I was the CTO of Lighthammer and wrote much of xMII.

CSS is the SAP customer support system. If you are an SAP customer or partner, you'll have a login. I do not know the URL.

Best regards,

Rick

sufw
Active Participant
Former Member
0 Kudos

Hi Rick,

Sorry to have mistaken your position. I am thankful to you for the prompt responses.

It was very helpful to be on the forum for getting the queries cleared.

The xMII web service client still needs some modification as it is not able to read few standard WSDLs generated by Axis.

I will log in issue with SAP on that....

Former Member
0 Kudos

Hi,

Thanks for all your suggestion, I could use Ethereal and dig everything then on.

Tim, Thanks for your suggestion on Modifying the HTTP Header; I could access the web service after putting the cookie information and SOAP Action.

Its a problem that xMII can not handle redirected web service urls for now, I will get it conveyed to the xMII team.

Thanks alot for your time

Regards,

Piyush