Thanks for the reply.
I have already built WSDL for some project can I use one?
It looks like this 
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
xmlns:ws="http://caxchange.nci.nih.gov/ws";
xmlns:common="http://caxchange.nci.nih.gov/ws/common";
xmlns:caxchange="http://caxchange.nci.nih.gov/ws/routingandworkflow";
targetNamespace="http://caxchange.nci.nih.gov/ws"; name="routingandworkflow">
        <wsdl:types>
                <xs:schema
targetNamespace="http://caxchange.nci.nih.gov/ws/routingandworkflow";
elementFormDefault="qualified" attributeFormDefault="qualified"
version=".1">
                        <xs:element name="RoutingAndWorkflowRequest"
type="caxchange:RoutingAndWorkflowRequest"/>
                        <xs:complexType name="RoutingAndWorkflowRequest">
                                <xs:sequence>
                                        <xs:element name="ExternalIdentifier" 
type="xs:string"/>
                                        <xs:element name="Credentials" 
type="caxchange:Credentials"/>
                                        <xs:element 
name="ProcessingInstructions"
type="caxchange:ProcessingInstructions"/>
                                        <xs:element name="Payload" 
type="caxchange:MessagePayload"/>
                                        <xs:element name="Properties" 
type="caxchange:MessageProperties"/>
                                </xs:sequence>
                        </xs:complexType>
                        <xs:complexType name="MessagePayload">
                                <xs:sequence>
                                        <xs:element name="FormatDefinition" 
type="xs:anyURI" minOccurs="0"/>
                                        <xs:element name="PayloadType" 
type="caxchange:PayloadTypes"/>
                                        <xs:choice>
                                                <xs:element name="Text" 
type="xs:string"/>
                                                <xs:element name="Object" 
type="xs:base64Binary"/>
                                        </xs:choice>
                                </xs:sequence>
                        </xs:complexType>
                        <xs:complexType name="PayloadTypes">
                                <xs:choice>
                                        <xs:element name="GenericType" 
type="xs:string"/>
                                        <xs:element name="KnownType" 
type="caxchange:KnownTypes"/>
                                </xs:choice>
                        </xs:complexType>
                        <xs:simpleType name="KnownTypes">
                                <xs:restriction base="xs:string">
                                        <xs:enumeration 
value="Lombardi_Cancer_Center_CSV"/>
                                </xs:restriction>
                        </xs:simpleType>
                        <xs:complexType name="ProcessingInstructions">
                                <xs:sequence>
                                        <xs:element name="Workflow" 
type="caxchange:Workflow"/>
                                        <xs:element name="Endpoints" 
maxOccurs="unbounded" type="xs:string"/>
                                </xs:sequence>
                        </xs:complexType>
                        <xs:complexType name="Workflow">
                                <xs:sequence>
                                        <xs:element name="Identifier" 
type="xs:string" nillable="false"/>
                                </xs:sequence>
                        </xs:complexType>
                        <xs:element name="Acknowledgement" 
type="caxchange:Acknowledgement"/>
                        <xs:complexType name="Acknowledgement">
                                <xs:sequence>
                                        <xs:element name="Status" 
type="caxchange:AcknowledgementStatuses"
nillable="false"/>
                                        <xs:element name="Error" 
type="caxchange:ErrorDetails" minOccurs="0"/>
                                </xs:sequence>
                        </xs:complexType>
                        <xs:simpleType name="AcknowledgementStatuses">
                                <xs:restriction base="xs:string">
                                        <xs:enumeration 
value="MessageReceived"/>
                                        <xs:enumeration value="ErrorOccurred"/>
                                </xs:restriction>
                        </xs:simpleType>
                        <xs:complexType name="Credentials">
                                <xs:sequence>
                                        <xs:element name="UserName" 
type="xs:string"/>
                                        <xs:element name="Password" 
type="xs:string"/>
                                </xs:sequence>
                        </xs:complexType>
                        <xs:complexType name="MessageProperties">
                                <xs:sequence>
                                        <xs:element name="Property" 
type="caxchange:Property"  minOccurs="0"
maxOccurs="unbounded"/>
                                </xs:sequence>
                        </xs:complexType>                       
                        <xs:complexType name="Property">
                                <xs:sequence>
                                        <xs:element name="Key" 
type="xs:string"/>
                                        <xs:element name="Value" 
type="xs:string"/>
                                </xs:sequence>
                        </xs:complexType>
                        
                        <xs:element name="ErrorDetails" 
type="caxchange:ErrorDetails"/>
                        <xs:complexType name="ErrorDetails">
                                <xs:sequence>
                                        <xs:element name="ErrorCode" 
type="caxchange:ErrorCodes"/>
                                        <xs:element name="ErrorDescription" 
type="xs:string"/>
                                </xs:sequence>
                        </xs:complexType>
                        <xs:simpleType name="ErrorCodes">
                                <xs:restriction base="xs:string">
                                        <xs:enumeration 
value="AuthorizationFailure"/>
                                        <xs:enumeration 
value="AuthenticationFailure"/>
                                        <xs:enumeration 
value="ApplicationError"/>
                                </xs:restriction>
                        </xs:simpleType>
                </xs:schema>
        </wsdl:types>
        <wsdl:message name="ErrorMessage">
                <wsdl:part name="ErrorMessage" 
element="caxchange:ErrorDetails"/>
        </wsdl:message>
        <wsdl:message name="RoutingAndWorkflowRequestMessage">
                <wsdl:part name="RoutingAndWorkflowRequest"
type="caxchange:RoutingAndWorkflowRequest"/>
        </wsdl:message>
        <wsdl:message name="AcknowledgementResponseMessage">
                <wsdl:part name="AcknowledgementResponse"
type="caxchange:Acknowledgement"/>
        </wsdl:message>
        <wsdl:portType name="CTMSIRoutingService">
                <wsdl:operation name="executeRoutingOrWorkflow">
                        <wsdl:input 
message="ws:RoutingAndWorkflowRequestMessage"/>
                        <wsdl:output 
message="ws:AcknowledgementResponseMessage"/>
                        <wsdl:fault name="ErrorMessage" 
message="ws:ErrorMessage"/>
                </wsdl:operation>
        </wsdl:portType>
        <wsdl:binding name="NewBinding" type="ws:CTMSIRoutingService">
                <soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
                <wsdl:operation name="executeRoutingOrWorkflow">
                        <soap:operation
soapAction="http://caxchange.nci.nih.gov/ws/executeRoutingOrWorkflow"/>
                        <wsdl:input>
                                <soap:body use="literal" 
namespace="http://caxchange.nci.nih.gov/ws"/>
                        </wsdl:input>
                        <wsdl:output>
                                <soap:body use="literal" 
namespace="http://caxchange.nci.nih.gov/ws"/>
                        </wsdl:output>
                        <wsdl:fault name="ErrorMessage">
                                <soap:fault name="ErrorMessage" use="literal"/>
                        </wsdl:fault>
                </wsdl:operation>
        </wsdl:binding>
        <wsdl:service name="CTMSIRoutingService">
                <wsdl:port name="CTMSIRoutingServiceSoapPort" 
binding="ws:NewBinding">
                        <soap:address 
location="http://localhost:8080/caxchange/ctmsirouting"/>
                </wsdl:port>
        </wsdl:service>
</wsdl:definitions>

Raj

kumar2 wrote:
> 
> POM.xml for jsr component has reference to wsdl file. That wsdl file
> should
> be present.
>       <configuration>
>               <wsdls>
>                 <wsdl>src/main/resources/person.wsdl</wsdl>
>               </wsdls>
>               <outputDirectory>target/jaxws</outputDirectory>
>               <profile>org.codehaus.xfire.jaxws.gen.JAXWSProfile</profile>
>        </configuration>
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, October 14, 2007 3:21 AM
> To: [email protected]
> Subject: Error while building SA with jsr181-wsdl-first SU and
> http:consumerSU
> 
> 
> Can anyone suggest me whats going on wrong here?
> Do I need to configure something before building?
> 
> 
> C:\crws>mvn install
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   CRWS
> [INFO]   JSR-181::SU
> [INFO]   HTTP::SU
> [INFO]   CRWS::SA
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building CRWS
> [INFO]    task-segment: [install]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing C:\crws\pom.xml to C:\Documents and
> Settings\ykhanal\.m2\repository\org\apache\servicemix\crws\parent\1.0-SNAPSH
> OT\parent-
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building JSR-181::SU
> [INFO]    task-segment: [install]
> [INFO]
> ----------------------------------------------------------------------------
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/wss4j/wss4j/1.5.0/wss
> 4j-1.5.0.pom
> Downloading:
> http://repo1.maven.org/maven2/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1
> .3.0/xmlsec-1.3.0.pom
> Downloading:
> http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/s
> aaj-impl-1.3.pom
> Downloading:
> http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
> [INFO] [xfire:wsgen {execution: default}]
> [INFO] Executing XFire WsGen task with url:
> file:/C:/crws/src/main/resources/service.wsdl
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] command execution failed
> 
> Embedded error: java.io.IOException: Could not find resource
> 'file:/C:/crws/src/main/resources/service.wsdl
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 5 seconds
> [INFO] Finished at: Sat Oct 13 17:45:56 EDT 2007
> [INFO] Final Memory: 11M/22M
> [INFO]
> ------------------------------------------------------------------------
> -- 
> View this message in context:
> http://www.nabble.com/Error-while-building-SA-with-jsr181-wsdl-first-SU-and-
> http%3Aconsumer-SU-tf4619726s12049.html#a13193756
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> 
> 
>  
> 

-- 
View this message in context: 
http://www.nabble.com/Error-while-building-SA-with-jsr181-wsdl-first-SU-and-http%3Aconsumer-SU-tf4619726s12049.html#a13212119
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to