Discussions

XML & Web services: Facing Problem in converting WebService of a Spring based applic

  1. Hi All, Has any one tried converting a JAVA class implemented on spring into a WebService using axis or any other API.?????? I am working for a project called IFS (Insurance Framework Solution). Currently it is implemented on J2EE/JEE specifications and the technologies used are as follows: Technologies Used in IFS 1)Spring 2.0 2)Hibernate 3.0 3)Schema xml for handling request/response i.e., request and response is sent in the form of xml instead of java objects. 4)Jdk1.5.0 I am trying to covert IFS business service (Spring based application framework) into WebService using axis-2.0. I am facing problem when i am trying to create .aar (axis archive) file from the services. Its not throwing any error but its not giving/showing me the declared method(Public method) from the existing service/class. I am stuck with this. Please let me know whether what I am doing is the right way to convert one spring based POJO class into WebServices If there is any alternative way to convert it into WebServices please help me. Sugesstions are welcome..... Thanks in advance
  2. Reply to message Facing Problem[ Go to top ]

    hi i can help u if u plz foward the code for this . cheers BhargavKumar.B
  3. Hi , Now i am able to create the .aar file .Problem was when i was trying to create the .aar file that time whatever .jar files i ve used throughout my application i ve to add all.I was missing some of the jars thats why it was not able to read the class files from the location. Now some other problems i am facing .After deploying it in axis2 i have created the wsdl file in Eclipse and it is deploying the .aar file.And its opening WebService explorer and displying the declared method.But below on status grid its displaying some errors given below: IWAB0380E Errors were encountered while validating XML schemas. XSD: Type reference 'http://inbox.service.app.ifs.com/xsd#IInboxService' is unresolved XSD: Type reference 'http://inbox.schema.ifs.com/xsd#InboxRequest' is unresolved XSD: Type reference 'http://inbox.schema.ifs.com/xsd#InboxResponse' is unresolved XSD: Type reference 'http://beans.springframework.org/xsd#BeansException' is unresolved XSD: Type reference 'http://factory.beans.springframework.org/xsd#BeanFactory' is unresolved XSD: Type reference 'http://inbox.service.app.ifs.com/xsd#IInboxService' is unresolved XSD: The location '' has not been resolved XSD: The location '' has not been resolved XSD: The location '' has not been resolved XSD: The location '' has not been resolved XSD: The location '' has not been resolved XSD: Type reference 'http://xmlbeans.apache.org/xsd#SchemaType' is unresolved XSD: Type reference 'http://underid.schema.ifs.com/xsd#Underid' is unresolved XSD: Type reference 'http://xmlbeans.apache.org/xsd#SchemaType' is unresolved XSD: Type reference 'http://inboxMsgText.schema.ifs.com/xsd#InboxMsgText' is unresolved XSD: Type reference 'http://inboxServiceDesc.schema.ifs.com/xsd#InboxServiceDesc' is unresolved XSD: Type reference 'http://xmlbeans.apache.org/xsd#SchemaType' is unresolved XSD: Type reference 'http://name.schema.ifs.com/xsd#Name' is unresolved XSD: Type reference 'http://xmlbeans.apache.org/xsd#SchemaType' is unresolved XSD: The location '' has not been resolved XSD: The location '' has not been resolved XSD: The location '' has not been resolved XSD: Type reference 'http://regionDesc.schema.ifs.com/xsd#RegionDesc' is unresolved XSD: Type reference 'http://user.schema.ifs.com/xsd#User' is unresolved XSD: Type reference 'http://xmlbeans.apache.org/xsd#SchemaType' is unresolved XSD: The location '' has not been resolved XSD: Type reference 'http://xmlbeans.apache.org/xsd#SchemaType' is unresolved XSD: The location '' has not been resolved XSD: Type reference 'http://xmlbeans.apache.org/xsd#SchemaType' is unresolved XSD: The location '' has not been resolved XSD: The location '' has not been resolved XSD: Type reference 'http://state.schema.ifs.com/xsd#State' is unresolved XSD: Type reference 'http://xmlbeans.apache.org/xsd#SchemaType' is unresolved XSD: The location '' has not been resolved XSD: Type reference 'http://xmlbeans.apache.org/xsd#SchemaType' is unresolved XSD: Type reference 'http://core.springframework.org/xsd#NestedRuntimeException' is unresolved XSD: The value 'SchemaComponent$Ref' of attribute 'name' must conform to pattern '(\i\c*) & ([\i-[:]][\c-[:]]*)' as constrained by 'http://www.w3.org/2001/XMLSchema#NCName' XSD: The value 'SchemaType$Ref' of attribute 'name' must conform to pattern '(\i\c*) & ([\i-[:]][\c-[:]]*)' as constrained by 'http://www.w3.org/2001/XMLSchema#NCName' XSD: The location '' has not been resolved XSD: The location '' has not been resolved XSD: The location '' has not been resolved XSD: The location '' has not been resolved XSD: The location '' has not been resolved XSD: Type reference 'http://addressDescType.schema.ifs.com/xsd#AddressDescType' is unresolved XSD: Type reference 'http://country.schema.ifs.com/xsd#Country' is unresolved XSD: Type reference 'http://state.schema.ifs.com/xsd#State' is unresolved XSD: Type reference 'http://zipCode.schema.ifs.com/xsd#Zipcode' is unresolved XSD: Type reference 'http://xmlbeans.apache.org/xsd#SchemaType' is unresolved XSD: Type reference 'http://www.w3.org/2001/XMLSchema#RuntimeException' is unresolved XSD: The location '' has not been resolved XSD: The location '' has not been resolved XSD: The location '' has not been resolved XSD: The location '' has not been resolved XSD: The location '' has not been resolved XSD: Type reference 'http://address.schema.ifs.com/xsd#Address' is unresolved XSD: Type reference 'http://country.schema.ifs.com/xsd#Country' is unresolved XSD: Type reference 'http://country.schema.ifs.com/xsd#Country' is unresolved XSD: Type reference 'http://state.schema.ifs.com/xsd#State' is unresolved XSD: Type reference 'http://phone.schema.ifs.com/xsd#Phone' is unresolved XSD: Type reference 'http://xmlbeans.apache.org/xsd#SchemaType' is unresolved XSD: The location '' has not been resolved XSD: Type reference 'http://xmlbeans.apache.org/xsd#SchemaType' is unresolved XSD: The location '' has not been resolved XSD: Type reference 'http://xmlbeans.apache.org/xsd#SchemaType' is unresolved XSD: The location '' has not been resolved XSD: Type reference 'http://xmlbeans.apache.org/xsd#SchemaType' is unresolved XSD: The location '' has not been resolved XSD: Type reference 'http://xmlbeans.apache.org/xsd#SchemaType' is unresolved XSD: The location '' has not been resolved XSD: Type reference 'http://xmlbeans.apache.org/xsd#SchemaType' is unresolved IWAB0381I http://localhost:8080/IFS-WebService/services/InboxWrapper?wsdl was successfully opened. Why all these errors are coming.Can anybody help me on that. Tnks in advance.
  4. got same problem[ Go to top ]

    HI... I have the same problem help me if you have arrived at the solution
  5. Gents, I am also facing the same problem. I have a project built on Spring 2.5+Hibernate+JDK 1.5. We are using its jar file on further client apps. Now my client needs a WSDL file to access from another apps. My IDE is eclipse 3.3. please do let me know how I can convert this with less effort. Thanks Malik