2012-12-06 5 views
2
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> 
     <soapenv:Header/> 
     <soapenv:Body> 
      <xs:QueryProductionCalendarRequest/> 
     </soapenv:Body> 
    </soapenv:Envelope> 

SOAPUI에서 WSDL을로드 할 때. 요청이 비어있는 것 같습니다. 요청 요소가 여기에 표시되지 않는 이유는 무엇입니까? 그러나 내가 온라인으로 다운로드 한 예제 WSDL을로드 할 때. 다음과 같이 보입니다.SOAPUI의 빈 요청 태그

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://quickstart.samples/xsd"> 
    <soap:Header/> 
    <soap:Body> 
     <xsd:getPrice> 
     <xsd:symbol>?</xsd:symbol> 
     </xsd:getPrice> 
    </soap:Body> 
</soap:Envelope> 

누군가 여기서 일어나는 일에 대해 설명해 줄 수 있습니까? 다음은 WSDL이다 : 그것은 WSDL 파일에 대한해야

<?xml version="1.0" encoding="UTF-8"?> 
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:axis2="http://ws.apache.org/axis2" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://ws.apache.org/axis2"> 
    <wsdl:documentation>FlexisService</wsdl:documentation> 
    <wsdl:types> 
     <xs:element name="QueryProductionCalendarRequest" type="QueryProductionCalendarRequestType"/> 
     <xs:complexType name="QueryProductionCalendarRequestType"> 
     <xs:sequence> 
      <xs:element name="Plant" type="xs:string"/> 
      <xs:element name="Line" type="xs:string"/> 
      <xs:element name="StartDate" type="xs:date" minOccurs="0"/> 
      <xs:element name="EndDate" type="xs:date" minOccurs="0"/> 
     </xs:sequence> 
     </xs:complexType> 
     <xs:element name="QueryProductionCalendarResponse" type="QueryProductionCalendarResponseType"/> 
     <xs:complexType name="QueryProductionCalendarResponseType"> 
     <xs:sequence> 
      <xs:element name="Plant" type="xs:string"/> 
      <xs:element name="Line" type="xs:string"/> 
      <xs:element name="ProductionDayList" type="ProductionDayListType"/> 
     </xs:sequence> 
     </xs:complexType> 
     <xs:complexType name="ProductionDayListType"> 
     <xs:sequence> 
      <xs:element name="ProductionDay" type="ProductionDayType" minOccurs="0" maxOccurs="unbounded"/> 
     </xs:sequence> 
     </xs:complexType> 
     <xs:complexType name="ProductionDayType"> 
     <xs:sequence> 
      <xs:element name="ProductionDate" type="xs:date"/> 
      <xs:element name="ProductionRate" type="xs:integer"/> 
      <xs:element name="ProductionShiftList" type="ProductionShiftListType" minOccurs="0"/> 
     </xs:sequence> 
     </xs:complexType> 
     <xs:complexType name="ProductionShiftListType"> 
     <xs:sequence> 
      <xs:element name="ProductionShift" type="ProductionShiftType" minOccurs="0" maxOccurs="unbounded"/> 
     </xs:sequence> 
     </xs:complexType> 
     <xs:complexType name="ProductionShiftType"> 
     <xs:sequence> 
      <xs:element name="Name" type="xs:string"/> 
      <xs:element name="ShiftRate" type="xs:integer"/> 
      <xs:element name="StartDateTime" type="xs:dateTime"/> 
      <xs:element name="EndDateTime" type="xs:dateTime"/> 
     </xs:sequence> 
     </xs:complexType> 
    </wsdl:types> 
    <wsdl:message name="QueryProductionCalendarRequestMessage"> 
     <wsdl:part name="parameters" element="xs:QueryProductionCalendarRequest"/> 
    </wsdl:message> 
    <wsdl:message name="QueryProductionCalendarResponseMessage"> 
     <wsdl:part name="parameters" element="xs:QueryProductionCalendarResponse"/> 
    </wsdl:message> 
    <wsdl:portType name="FlexisServicePortType"> 
     <wsdl:operation name="QueryProductionCalendar"> 
      <wsdl:input message="axis2:QueryProductionCalendarRequestMessage" wsaw:Action="urn:QueryProductionCalendar"/> 
      <wsdl:output message="axis2:QueryProductionCalendarResponseMessage" wsaw:Action="urn:QueryProductionCalendarResponse"/> 
     </wsdl:operation>  
    </wsdl:portType> 
    <wsdl:binding name="FlexisServiceSoap11Binding" type="axis2:FlexisServicePortType"> 
     <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> 
     <wsdl:operation name="QueryProductionCalendar"> 
      <soap:operation soapAction="urn:QueryProductionCalendar" 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="FlexisServiceSoap12Binding" type="axis2:FlexisServicePortType"> 
     <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> 
     <wsdl:operation name="QueryProductionCalendar"> 
      <soap12:operation soapAction="urn:QueryProductionCalendar" style="document"/> 
      <wsdl:input> 
       <soap12:body use="literal"/> 
      </wsdl:input> 
      <wsdl:output> 
       <soap12:body use="literal"/> 
      </wsdl:output> 
     </wsdl:operation> 
    </wsdl:binding> 
    <wsdl:binding name="FlexisServiceHttpBinding" type="axis2:FlexisServicePortType"> 
     <http:binding verb="POST"/> 
     <wsdl:operation name="QueryProductionCalendar"> 
      <http:operation location="FlexisService/QueryProductionCalendar"/> 
      <wsdl:input> 
       <mime:content type="text/xml" part="QueryProductionCalendar"/> 
      </wsdl:input> 
      <wsdl:output> 
       <mime:content type="text/xml" part="QueryProductionCalendar"/> 
      </wsdl:output> 
     </wsdl:operation> 
    </wsdl:binding> 
    <wsdl:service name="FlexisService"> 
     <soap:address location='http://localhost:8080/axis2/services/FlexisService'/> 
    </wsdl:service> 
</wsdl:definitions> 

답변

0

.

<wsdl:message name="nameOfRequest"> 

WSDL 파일의 일부를 확인하고 필요한 요소가 포함되어 있는지 확인하십시오.

+0

나는 메시지 이름을 확인하고 나에게 잘 보였다. 이전에 내 질문에 WSDL을 첨부했습니다. 이상한 것을 발견하면 알려주십시오. –

+0

복잡한 요소 를 찾을 수 없습니다. – Suha

0

그냥 대신에 주식 시세 기호를 입력? 요청을 제출하십시오. getPrice는 꽤 간단한 요청처럼 들리므로, 나는 티커 심볼 이상을 필요로하지 않을 것입니다.

+0

내가 편집 중이기 때문에 내 질문을 잘못 이해했다고 생각합니다. 다시 가서 대답 해 주실 수 있습니까? –