Hi,

I have a problem while invoking a test muse service I wrote.
(Find attached the WSDL file of the service).
As you can see in the WSDL file, the service exposes an operation 'create' 
which has one input argument of type string.
As I am writing a client which is supposed to invoke the service, I am 
generating a SOAP request and sending it to the server.
I looked through the following article that instructs how to build a SOAP 
message for literal wrapped services:
http://www-128.ibm.com/developerworks/webservices/library/ws-tip-namespace.html
AFAIK the SOAP message I'm sending to the service is supposed to be correct.
Following is the SOAP message I'm sending to the service and the log from the 
tomcat in DEBUG logging level.

SOAP:
Sending request: 

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:m="http://www.primagrid.com/test/one/testservice"; 
xmlns:add="http://schemas.xmlsoap.org/ws/2004/08/addressing"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
  <Header>
    <add:To>http://localhost:8080/muse/services/ServicesAdmin</add:To>
    
<add:Action>http://www.primagrid.com/test/one/testservice/ServicesAdminPortType/Create</add:Action>
    <m:ResourceIdentifier>1</m:ResourceIdentifier>
  </Header>
  <Body>
    <m:create>
      <resourcetypename>1</resourcetypename>
    </m:create>
  </Body>
</Envelope>
 
LOG:
--> 04-20-06 18:35:46 DEBUG [http-8080-2] ResourceHandler: Received request.
--> 04-20-06 18:35:46 DEBUG [http-8080-2] ResourceHandler: Received SOAP 
request: 
<?xml version="1.0" encoding="UTF-8"?><!-- edited with XMLSpy v2006 sp2 U 
(http://www.altova.com) by vahal (AnonymousComp) --><Envelope 
xmlns="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:m="http://www.primagrid.com/test/one/testservice"; 
xmlns:add="http://schemas.xmlsoap.org/ws/2004/08/addressing"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
            <Header>
                        
<add:To>http://localhost:8080/muse/services/ServicesAdmin</add:To>
                        
<add:Action>http://www.primagrid.com/test/one/testservice/ServicesAdminPortType/Create</add:Action>
                        <m:ResourceIdentifier>1</m:ResourceIdentifier>
            </Header>
            <Body>
                        <m:create>
                                    <resourcetypename type="xsd:string"/>
                        </m:create>
            </Body>
</Envelope>
--> 04-20-06 18:35:46 DEBUG [http-8080-2] ProjectResourceBundle: 
--> org.apache.ws.resource.i18n.resource::handleGetObject(GET_ACTION_FRO
--> M_ADDR_HDR)
--> 04-20-06 18:35:46 DEBUG [http-8080-2] AbstractResourceContext: 
--> Retrieving the Action from the Addressing Headers.  Action is: 
--> http://www.primagrid.com/test/one/testservice/ServicesAdminPortType/
--> Create
--> 04-20-06 18:35:46 DEBUG [http-8080-2] ProjectResourceBundle: 
--> org.apache.ws.resource.i18n.resource::handleGetObject(JNDI_HOME_LOCA
--> TION)
--> 04-20-06 18:35:46 DEBUG [http-8080-2] AbstractResourceContext: The 
--> JNDI home location is: wsrf/services/ServicesAdmin/home
--> 04-20-06 18:35:46 DEBUG [http-8080-2] ProjectResourceBundle: 
--> org.apache.ws.resource.i18n.resource::handleGetObject(RETRIEVED_SERV
--> ICE_CLASSNAME)
--> 04-20-06 18:35:46 DEBUG [http-8080-2] ResourceHandler: Retrieved service 
classname: com.primagrid.test.one.testservice.ServicesAdminService from 
resource home.
--> 04-20-06 18:35:46 DEBUG [http-8080-2] ProjectResourceBundle: 
--> org.apache.ws.resource.i18n.resource::handleGetObject(CREATING_INSTA
--> NCE_OF_SERVICE)
--> 04-20-06 18:35:46 DEBUG [http-8080-2] ResourceHandler: Creating an 
--> instance of service class: class 
--> com.primagrid.test.one.testservice.ServicesAdminService
--> 04-20-06 18:35:48 DEBUG [http-8080-2] ProjectResourceBundle: 
--> org.apache.ws.util.i18n.resource::handleGetObject(CONVRT_QNAME_TO_NA
--> ME)
--> 04-20-06 18:35:48 DEBUG [http-8080-2] NameUtils: Converting QName to 
--> Name.  QName: 
--> {http://www.primagrid.com/test/one/testservice}ResourceIdentifier
--> 04-20-06 18:35:48 DEBUG [http-8080-2] ProjectResourceBundle: 
--> org.apache.ws.util.i18n.resource::handleGetObject(CREATING_NAME)
--> 04-20-06 18:35:48 DEBUG [http-8080-2] NameUtils: Creating a Name 
--> from localpart: ResourceIdentifier prefix:  uri: 
--> http://www.primagrid.com/test/one/testservice
--> 04-20-06 18:35:48 DEBUG [http-8080-2] ProjectResourceBundle: 
--> org.apache.ws.resource.i18n.resource::handleGetObject(FINDING_RESOUR
--> CE_WITH_KEY)
--> 04-20-06 18:35:48 DEBUG [http-8080-2] AbstractResourceHome: Finding 
resource with key 1 ...
-> 04-20-06 18:35:48 DEBUG [http-8080-2] ProjectResourceBundle: 
-> org.apache.ws.resource.i18n.resource::handleGetObject(GETTING_RESOURC
-> E_WITH_ID)
--> 04-20-06 18:35:48 DEBUG [http-8080-2] AbstractResourceHome: Attempting to 
lookup resource with identifier 1 from 
com.primagrid.test.one.testservice.ServicesAdminHome ...
--> 04-20-06 18:35:48 DEBUG [http-8080-2] ProjectResourceBundle: 
--> org.apache.ws.resource.i18n.resource::handleGetObject(DERIVE_SERVICE
--> _NAME_FROM_REQ)
--> 04-20-06 18:35:48 DEBUG [http-8080-2] ResourceHandler: Deriving the service 
method name from the request body element name ([EMAIL 
PROTECTED]://www.primagrid.com/test/one/testservice)...
--> 04-20-06 18:35:48 DEBUG [http-8080-2] ResourceHandler: Based on the 
--> request, looking for method named: create in service 
--> com.primagrid.test.one.testservice.ServicesAdminService with a 
--> single param of type: org.apache.xmlbeans.impl.values.XmlAnyTypeImpl
--> 04-20-06 18:35:48  WARN [http-8080-2] ResourceHandler: Found method 
--> named: create in service 
--> com.primagrid.test.one.testservice.ServicesAdminService with a 
--> single param of type: 
--> com.primagrid.test.one.testservice.CreateDocument , however the 
--> request param was of type: 
--> org.apache.xmlbeans.impl.values.XmlAnyTypeImpl
--> 04-20-06 18:35:48 DEBUG [http-8080-2] ProjectResourceBundle: 
--> org.apache.ws.resource.i18n.resource::handleGetObject(BAD_REQUEST_BO
--> DY_ELEMENT)
--> 04-20-06 18:35:48 DEBUG [http-8080-2] ResourceProvider: Sending SOAP fault: 
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
 <soapenv:Body>
  <soapenv:Fault>
   <faultcode>soapenv:Client</faultcode>
   <faultstring>Unrecognized request body element: [EMAIL 
PROTECTED]://www.primagrid.com/test/one/testservice</faultstring>
   <detail/>
  </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>


The FAULT message I get in the TOMCAT log indicates the 'create' operation is 
found by the argument it has is not of the correct data type.
What would be the right way to construct the SOAP message?

Thanks in advance,
 
Asaf Lahav
VP R&D, Prima Grid LTD.
Cellular:  972-54-4717955
Phone:   972-3-6540255
Fax:       972-3-6540254
<?xml version="1.0"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:tns="http://www.primagrid.com/test/one/testservice"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"; xmlns:wsrpw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"; xmlns:wsrlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"; xmlns:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"; xmlns:muws-p2-wsdl="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.wsdl"; xmlns:mex="http://schemas.xmlsoap.org/ws/2004/09/mex"; xmlns:wsa04="http://schemas.xmlsoap.org/ws/2004/08/addressing"; xmlns:ns="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd"; xmlns:ns1="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd"; xmlns:ns2="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"; xmlns:ns3="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"; xmlns:ns4="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"; xmlns:ns5="http://schemas.xmlsoap.org/ws/2003/03/addressing"; targetNamespace="http://www.primagrid.com/test/one/testservice"; name="MyDefinition">
	<import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"; location="../spec/wsrf/WS-ResourceProperties-1_2-Draft_01.wsdl"/>
	<import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"; location="../spec/wsrf/WS-ResourceLifetime-1_2-Draft_01.wsdl"/>
	<import namespace="http://schemas.xmlsoap.org/ws/2004/09/mex"; location="../spec/wsx/WS-MetadataExchange-2004_09.wsdl"/>
	<import namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"; location="../spec/wsn/WS-BaseNotification-1_2-Draft_01.wsdl"/>
	<import namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.wsdl"; location="../spec/wsdm/MUWS-Part2-1_0.wsdl"/>
	<types>
		<schema elementFormDefault="qualified" targetNamespace="http://www.primagrid.com/test/one/testservice"; xmlns="http://www.w3.org/2001/XMLSchema"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:wsrl="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"; xmlns:wsbf="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"; xmlns:wsnt="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"; xmlns:muws-p1-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd"; xmlns:muws-p2-xs="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd";>
			<xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"; schemaLocation="../spec/wsrf/WS-BaseFaults-1_2-Draft_01.xsd"/>
			<xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"; schemaLocation="../spec/wsrf/WS-ResourceLifetime-1_2-Draft_01.xsd"/>
			<xsd:import namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"; schemaLocation="../spec/wsn/WS-BaseNotification-1_2-Draft_01.xsd"/>
			<xsd:import namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd"; schemaLocation="../spec/wsdm/MUWS-Part1-1_0.xsd"/>
			<xsd:import namespace="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part2.xsd"; schemaLocation="../spec/wsdm/MUWS-Part2-1_0.xsd"/>
			<!-- *** Add an element definition here for each of your custom resource properties *** -->
			<!-- *** e.g.: <element name="MyProperty" type="xsd:string" /> *** -->
			<!-- Resource Properties Document Schema -->
			<element name="ResourceProperties">
				<complexType>
					<sequence>
						<!-- *** If you wish to implement the wsrl:ScheduledResourceTermination portType,
                           uncomment the below two lines *** -->
						<element ref="wsrl:CurrentTime"/>
						<element ref="wsrl:TerminationTime"/>
						<!-- *** If you wish to implement the wsnt:NotificationProducer portType,
                           uncomment the below three lines *** -->
						<element ref="wsnt:Topic" maxOccurs="unbounded"/>
						<element ref="wsnt:FixedTopicSet"/>
						<element ref="wsnt:TopicExpressionDialects" maxOccurs="unbounded"/>
						<!-- *** The ResourceId property is _required_ by the MUWS spec *** -->
						<element ref="muws-p1-xs:ResourceId"/>
						<!-- *** If you wish to implement the MUWS ManageabilityCharacteristics capability,
                           uncomment the below line *** -->
						<!--
	          <element ref="muws-p1-xs:ManageabilityCapability" minOccurs="0" maxOccurs="unbounded"/>
		  -->
						<!-- *** If you wish to implement the MUWS CorrelatableProperties capability,
                           uncomment the below line *** -->
						<!--
		  <element ref="muws-p1-xs:CorrelatableProperties" minOccurs="0" maxOccurs="unbounded"/>
                  -->
						<!-- *** If you wish to implement the MUWS Description capability,
                           uncomment the below three lines *** -->
						<!--
                  <element ref="muws-p2-xs:Caption" minOccurs="0" maxOccurs="unbounded"/>
                  <element ref="muws-p2-xs:Description" minOccurs="0" maxOccurs="unbounded"/>
                  <element ref="muws-p2-xs:Version" minOccurs="0"/>		  
                  -->
						<!-- *** If you wish to implement the MUWS OperationalStatus capability,
                           uncomment the below line *** -->
						<!--
		  <element ref="muws-p2-xs:OperationalStatus"/>
                  -->
						<!-- *** If you wish to implement the MUWS Metrics capability,
                           uncomment the below line *** -->
						<!--
	          <element ref="muws-p2-xs:CurrentTime"/>
                  -->
						<!-- *** If you wish to implement the MUWS Relationships capability,
                           uncomment the below line *** -->
						<!--
	          <element ref="muws-p2-xs:Relationship" minOccurs="0" maxOccurs="unbounded"/>
                  -->
						<!-- *** Add an element ref here for each of the custom resource property elements you defined above *** -->
						<!-- *** e.g.: <element ref="tns:MyProperty" /> (NOTE: default is minOccurs="1" and maxOccurs="1") *** -->
						<!-- ***   or: <element ref="tns:MyOtherProperty" minOccurs="0" maxOccurs="unbounded" /> *** -->
						<!-- *** Uncomment the below any element if you want to permit resource property elements 
                           with arbitrary names (not generally recommended) *** -->
						<!--
                  <any minOccurs="0" maxOccurs="unbounded" namespace="##other" processContents="lax"/>
                  -->
					</sequence>
				</complexType>
			</element>
			<!-- *** Add element definitions for custom request/response/fault types here *** -->
			<!-- Create Resource -->
			<element name="Create">
				<complexType>
					<sequence>
						<element name="resourcetypename" type="xsd:string"/>
					</sequence>
				</complexType>
			</element>
			<element name="CreateResponse">
				<complexType>
					<sequence>
						<element ref="wsa04:EndpointReference"/>
					</sequence>
				</complexType>
			</element>
			<element name="CreateFault">
				<complexType>
					<complexContent>
						<extension base="wsbf:BaseFaultType"/>
					</complexContent>
				</complexType>
			</element>
			<!-- Destroy Resource -->
			<element name="DestroyResource">
				<complexType>
					<sequence>
						<element name="resourceid" type="xsd:string"/>
					</sequence>
				</complexType>
			</element>
			<element name="DestroyResourceResponse">
				<complexType/>
			</element>
			<element name="DestroyResourceFault">
				<complexType>
					<complexContent>
						<extension base="wsbf:BaseFaultType"/>
					</complexContent>
				</complexType>
			</element>
		</schema>
	</types>
	<message name="CreateRequest">
		<part name="document" element="tns:Create"/>
	</message>
	<message name="CreateResponse">
		<part name="document" element="tns:CreateResponse"/>
	</message>
	<message name="CreateFaultMessage">
		<part name="document" element="tns:CreateFault"/>
	</message>
	<message name="DestroyResourceRequest">
		<part name="document" element="tns:DestroyResource"/>
	</message>
	<message name="DestroyResourceResponse">
		<part name="document" element="tns:DestroyResourceResponse"/>
	</message>
	<message name="DestroyResourceFaultMessage">
		<part name="document" element="tns:DestroyResourceFault"/>
	</message>
	<portType name="TestServicePortType" wsrp:ResourceProperties="tns:ResourceProperties">
		<operation name="GetResourceProperty">
			<input name="GetResourcePropertyRequest" message="wsrpw:GetResourcePropertyRequest"/>
			<output name="GetResourcePropertyResponse" message="wsrpw:GetResourcePropertyResponse"/>
			<fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
			<fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
		</operation>
		<!-- *** If you wish to implement the WSRP GetMultipleResourceProperties portType,
               uncomment the below operation block *** -->
		<operation name="GetMultipleResourceProperties">
			<input name="GetMultipleResourcePropertiesRequest" message="wsrpw:GetMultipleResourcePropertiesRequest"/>
			<output name="GetMultipleResourcePropertiesResponse" message="wsrpw:GetMultipleResourcePropertiesResponse"/>
			<fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
			<fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
		</operation>
		<!-- *** If you wish to implement the WSRP SetResourceProperties portType,
               uncomment the below operation block *** -->
		<operation name="SetResourceProperties">
			<input name="SetResourcePropertiesRequest" message="wsrpw:SetResourcePropertiesRequest"/>
			<output name="SetResourcePropertiesResponse" message="wsrpw:SetResourcePropertiesResponse"/>
			<fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
			<fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
			<fault name="InvalidSetResourcePropertiesRequestContentFault" message="wsrpw:InvalidSetResourcePropertiesRequestContentFault"/>
			<fault name="UnableToModifyResourcePropertyFault" message="wsrpw:UnableToModifyResourcePropertyFault"/>
			<fault name="SetResourcePropertyRequestFailedFault" message="wsrpw:SetResourcePropertyRequestFailedFault"/>
		</operation>
		<!-- *** If you wish to implement the WSRP QueryResourceProperties portType,
               uncomment the below operation block *** -->
		<operation name="QueryResourceProperties">
			<input name="QueryResourcePropertiesRequest" message="wsrpw:QueryResourcePropertiesRequest"/>
			<output name="QueryResourcePropertiesResponse" message="wsrpw:QueryResourcePropertiesResponse"/>
			<fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
			<fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
			<fault name="UnknownQueryExpressionDialectFault" message="wsrpw:UnknownQueryExpressionDialectFault"/>
			<fault name="InvalidQueryExpressionFault" message="wsrpw:InvalidQueryExpressionFault"/>
			<fault name="QueryEvaluationErrorFault" message="wsrpw:QueryEvaluationErrorFault"/>
		</operation>
		<!-- *** If you wish to implement the WSRL ImmediateResourceTermination portType,
               uncomment the below operation block *** -->
		<operation name="Destroy">
			<input message="wsrlw:DestroyRequest"/>
			<output message="wsrlw:DestroyResponse"/>
			<fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
			<fault name="ResourceNotDestroyedFault" message="wsrlw:ResourceNotDestroyedFault"/>
		</operation>
		<!-- *** If you wish to implement the WSRL ScheduledResourceTermination portType,
               uncomment the below operation block *** -->
		<operation name="SetTerminationTime">
			<input message="wsrlw:SetTerminationTimeRequest"/>
			<output message="wsrlw:SetTerminationTimeResponse"/>
			<fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
			<fault name="UnableToSetTerminationTimeFault" message="wsrlw:UnableToSetTerminationTimeFault"/>
			<fault name="TerminationTimeChangeRejectedFault" message="wsrlw:TerminationTimeChangeRejectedFault"/>
		</operation>
		<!-- *** If you wish to implement the WSNT NotificationProducer portType,
               uncomment the below two operation blocks *** -->
		<operation name="Subscribe">
			<input message="wsntw:SubscribeRequest"/>
			<output message="wsntw:SubscribeResponse"/>
			<fault name="ResourceUnknownFault" message="wsntw:ResourceUnknownFault"/>
			<fault name="SubscribeCreationFailedFault" message="wsntw:SubscribeCreationFailedFault"/>
			<fault name="TopicPathDialectUnknownFault" message="wsntw:TopicPathDialectUnknownFault"/>
		</operation>
		<operation name="GetCurrentMessage">
			<input message="wsntw:GetCurrentMessageRequest"/>
			<output message="wsntw:GetCurrentMessageResponse"/>
			<fault name="ResourceUnknownFault" message="wsntw:ResourceUnknownFault"/>
			<fault name="InvalidTopicExpressionFault" message="wsntw:InvalidTopicExpressionFault"/>
			<fault name="TopicNotSupportedFault" message="wsntw:TopicNotSupportedFault"/>
			<fault name="NoCurrentMessageOnTopicFault" message="wsntw:NoCurrentMessageOnTopicFault"/>
		</operation>
		<!-- *** If you wish to implement the WSNT NotificationConsumer portType,
               uncomment the below two operation blocks *** -->
		<operation name="Notify">
			<input name="Notify" message="wsntw:Notify"/>
		</operation>
		<operation name="Create">
			<input name="CreateRequest" message="tns:CreateRequest"/>
			<output name="CreateResponse" message="tns:CreateResponse"/>
			<fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
			<fault name="CreateFault" message="tns:CreateFaultMessage"/>
		</operation>
		<!-- *** DestroyResource resource -->
		<operation name="DestroyResource">
			<input name="DestroyResourceRequest" message="tns:DestroyResourceRequest"/>
			<output name="DestroyResourceResponse" message="tns:DestroyResourceResponse"/>
			<fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
			<fault name="DestroyResourceFault" message="tns:DestroyResourceFaultMessage"/>
		</operation>
		<!-- *** If you wish to implement the MUWS QueryRelationshipsByType operation,
               uncomment the below operation block *** -->
		<!--            
      <operation name="QueryRelationshipsByType">
         <input message="muws-p2-wsdl:QueryRelationshipsByTypeRequest"/>
         <output message="muws-p2-wsdl:QueryRelationshipsByTypeResponse"/>         
      </operation>      
      -->
		<!-- *** If you wish to implement the WS-MetadataExchange MetadataExchange portType,
               uncomment the below operation block *** -->
		<!--
      <operation name="GetMetadata" >
         <input message="mex:GetMetadataMsg"
                wsa04:Action="http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata/Request"; />
         <output message="mex:GetMetadataResponseMsg"
                wsa04:Action="http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata/Response"; />
      </operation>
      <operation name="Get" >
         <input message="mex:GetMsg"
                wsa04:Action="http://schemas.xmlsoap.org/ws/2004/09/mex/Get/Request"; />
         <output message="mex:GetResponseMsg"
                wsa04:Action="http://schemas.xmlsoap.org/ws/2004/09/mex/Get/Response"; />
      </operation>
      -->
		<!-- *** Add an operation block here for each of your custom operations *** -->
	</portType>
	<binding name="TestServiceSoapHttpBinding" type="tns:TestServicePortType">
		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="GetResourceProperty">
			<soap:operation style="document"/>
			<input>
				<soap:body use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
			<fault name="ResourceUnknownFault">
				<soap:fault name="ResourceUnknownFault" use="literal"/>
			</fault>
			<fault name="InvalidResourcePropertyQNameFault">
				<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
			</fault>
		</operation>
		<!-- *** If you wish to implement the WSRP GetMultipleResourceProperties portType,
               uncomment the below operation block *** -->
		<operation name="GetMultipleResourceProperties">
			<soap:operation style="document"/>
			<input>
				<soap:body use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
			<fault name="ResourceUnknownFault">
				<soap:fault name="ResourceUnknownFault" use="literal"/>
			</fault>
			<fault name="InvalidResourcePropertyQNameFault">
				<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
			</fault>
		</operation>
		<!-- *** If you wish to implement the WSRP SetResourceProperties portType,
               uncomment the below operation block *** -->
		<operation name="SetResourceProperties">
			<soap:operation style="document"/>
			<input>
				<soap:body use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
			<fault name="ResourceUnknownFault">
				<soap:fault name="ResourceUnknownFault" use="literal"/>
			</fault>
			<fault name="InvalidResourcePropertyQNameFault">
				<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
			</fault>
			<fault name="UnableToModifyResourcePropertyFault">
				<soap:fault name="UnableToModifyResourcePropertyFault" use="literal"/>
			</fault>
			<fault name="InvalidSetResourcePropertiesRequestContentFault">
				<soap:fault name="InvalidSetResourcePropertiesRequestContentFault" use="literal"/>
			</fault>
			<fault name="SetResourcePropertyRequestFailedFault">
				<soap:fault name="SetResourcePropertyRequestFailedFault" use="literal"/>
			</fault>
		</operation>
		<!-- *** If you wish to implement the WSRP QueryResourceProperties portType,
               uncomment the below operation block *** -->
		<operation name="QueryResourceProperties">
			<soap:operation style="document"/>
			<input>
				<soap:body use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
			<fault name="ResourceUnknownFault">
				<soap:fault name="ResourceUnknownFault" use="literal"/>
			</fault>
			<fault name="InvalidResourcePropertyQNameFault">
				<soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
			</fault>
			<fault name="UnknownQueryExpressionDialectFault">
				<soap:fault name="UnknownQueryExpressionDialectFault" use="literal"/>
			</fault>
			<fault name="InvalidQueryExpressionFault">
				<soap:fault name="InvalidQueryExpressionFault" use="literal"/>
			</fault>
			<fault name="QueryEvaluationErrorFault">
				<soap:fault name="QueryEvaluationErrorFault" use="literal"/>
			</fault>
		</operation>
		<!-- *** If you wish to implement the WSRL ImmediateResourceTermination portType,
               uncomment the below operation block *** -->
		<operation name="Destroy">
			<soap:operation style="document"/>
			<input>
				<soap:body use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
			<fault name="ResourceUnknownFault">
				<soap:fault name="ResourceUnknownFault" use="literal"/>
			</fault>
			<fault name="ResourceNotDestroyedFault">
				<soap:fault name="ResourceNotDestroyedFault" use="literal"/>
			</fault>
		</operation>
		<!-- *** If you wish to implement the WSRL ScheduledResourceTermination portType,
               uncomment the below operation block *** -->
		<operation name="SetTerminationTime">
			<soap:operation style="document"/>
			<input>
				<soap:body use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
			<fault name="ResourceUnknownFault">
				<soap:fault name="ResourceUnknownFault" use="literal"/>
			</fault>
			<fault name="UnableToSetTerminationTimeFault">
				<soap:fault name="UnableToSetTerminationTimeFault" use="literal"/>
			</fault>
			<fault name="TerminationTimeChangeRejectedFault">
				<soap:fault name="TerminationTimeChangeRejectedFault" use="literal"/>
			</fault>
		</operation>
		<!-- *** If you wish to implement the WSNT NotificationProducer portType,
               uncomment the below two operation blocks *** -->
		<operation name="Subscribe">
			<soap:operation style="document"/>
			<input>
				<soap:body use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
			<fault name="ResourceUnknownFault">
				<soap:fault name="ResourceUnknownFault" use="literal"/>
			</fault>
			<fault name="SubscribeCreationFailedFault">
				<soap:fault name="SubscribeCreationFailedFault" use="literal"/>
			</fault>
			<fault name="TopicPathDialectUnknownFault">
				<soap:fault name="TopicPathDialectUnknownFault" use="literal"/>
			</fault>
		</operation>
		<operation name="GetCurrentMessage">
			<soap:operation style="document"/>
			<input>
				<soap:body use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
			<fault name="ResourceUnknownFault">
				<soap:fault name="ResourceUnknownFault" use="literal"/>
			</fault>
			<fault name="InvalidTopicExpressionFault">
				<soap:fault name="InvalidTopicExpressionFault" use="literal"/>
			</fault>
			<fault name="TopicNotSupportedFault">
				<soap:fault name="TopicNotSupportedFault" use="literal"/>
			</fault>
			<fault name="NoCurrentMessageOnTopicFault">
				<soap:fault name="NoCurrentMessageOnTopicFault" use="literal"/>
			</fault>
		</operation>
		<!-- *** If you wish to implement the WSNT NotificationConsumer portType,
               uncomment the below two operation blocks *** -->
		<operation name="Notify">
			<soap:operation style="document"/>
			<input>
				<soap:body use="literal"/>
			</input>
		</operation>
		<!-- *** If you wish to implement the MUWS QueryRelationshipsByType operation,
               uncomment the below operation block *** -->
		<!--
      <operation name="QueryRelationshipsByType">
         <soap:operation style="document"/>
         <input>
            <soap:body use="literal"/>
         </input>
         <output>
            <soap:body use="literal"/>
         </output>
      </operation>            
      -->
		<!-- *** If you wish to implement the WS-MetadataExchange MetadataExchange portType,
               uncomment the below operation block *** -->
		<!--
      <operation name="GetMetadata" >
      	 <soap:operation style="document"/>
         <input>
            <soap:body use="literal"/>
         </input>
         <output>
            <soap:body use="literal"/>
         </output>
      </operation>
      <operation name="Get" >
      	 <soap:operation style="document"/>
         <input>
            <soap:body use="literal"/>
         </input>
         <output>
            <soap:body use="literal"/>
         </output>
      </operation>
      -->
		<!-- *** Add an operation block here for each of your custom operations *** -->
		<!-- Create operation for creatoin of Resources  -->
		<operation name="Create">
			<soap:operation style="document"/>
			<input>
				<soap:body use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
			<fault name="ResourceUnknownFault">
				<soap:fault name="ResourceUnknownFault" use="literal"/>
			</fault>
			<fault name="CreateFault">
				<soap:fault name="CreateFault" use="literal"/>
			</fault>
		</operation>
		<!-- DestroyResource operation for destruction of Resources  -->
		<operation name="DestroyResource">
			<soap:operation style="document"/>
			<input>
				<soap:body use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
			<fault name="ResourceUnknownFault">
				<soap:fault name="ResourceUnknownFault" use="literal"/>
			</fault>
			<fault name="DestroyResourceFault">
				<soap:fault name="DestroyResourceFault" use="literal"/>
			</fault>
		</operation>
	</binding>
	<service name="TestService">
		<!-- Note: the port name becomes the service name in the wsdd generated by Wsdl2Java -->
		<!-- *** Change the port name and the soap:address location below to reflect the desired endpoint URL *** -->
		<port name="ServicesAdmin" binding="tns:TestServiceSoapHttpBinding">
			<soap:address location="http://localhost:8080/muse/services/TestService"/>
		</port>
	</service>
	<!-- DestroyResourceResource operation definitions -->
	<!-- *** Add message definitions for custom request/response/fault types here *** -->
</definitions>

Reply via email to