users@glassfish.java.net

java.lang.IllegalStateException in JAXWS webservice client

From: <glassfish_at_javadesktop.org>
Date: Tue, 28 Jul 2009 00:59:20 PDT

Hi,
  I have used glasshfish with JAX-WS client side web service consumption.The Actaul service is hosted in ESB. When i access that service i got the following error. Have any one has the solution for this.

java.lang.IllegalStateException: Current state is not among the states START_ELEMENT , ATTRIBUTEvalid for getAttributeValue()
        at com.sun.xml.stream.XMLReaderImpl.getAttributeValue(XMLReaderImpl.java:775)
        at com.sun.xml.ws.util.xml.XMLStreamReaderFilter.getAttributeValue(XMLStreamReaderFilter.java:248)
        at com.sun.xml.ws.wsdl.parser.ParserUtil.getMandatoryNonEmptyAttribute(ParserUtil.java:79)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:303)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseImport(RuntimeWSDLParser.java:280)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseImport(RuntimeWSDLParser.java:656)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:315)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:227)
        at com.sun.xml.ws.api.model.wsdl.WSDLModel$WSDLParser.parse(WSDLModel.java:133)
        at com.sun.xml.ws.policy.jaxws.PolicyConfigParser.parseModel(PolicyConfigParser.java:281)
        at com.sun.xml.ws.policy.jaxws.PolicyConfigParser.parseModel(PolicyConfigParser.java:243)
        at com.sun.xml.ws.policy.jaxws.PolicyConfigParser.parse(PolicyConfigParser.java:109)
        at com.sun.xml.ws.policy.jaxws.PolicyWSDLParserExtension.postFinished(PolicyWSDLParserExtension.java:1248)
        at com.sun.xml.ws.wsdl.parser.DelegatingParserExtension.postFinished(DelegatingParserExtension.java:187)
        at com.sun.xml.ws.wsdl.parser.WSDLParserExtensionFacade.postFinished(WSDLParserExtensionFacade.java:334)
        at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:149)
        at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:263)
        at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:226)
        at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:174)
        at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)
        at javax.xml.ws.Service.<init>(Service.java:56)

Kindly put your thought..

Thanks & Regards
SathishKumar.P
[Message sent by forum member 'sat_avi' (sat_avi)]

http://forums.java.net/jive/thread.jspa?messageID=357840