cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Rapant (JIRA)" <>
Subject [jira] Created: (CXF-1475) Dynamic client invocation places argument in soap header
Date Thu, 13 Mar 2008 02:11:46 GMT
Dynamic client invocation places argument in soap header

                 Key: CXF-1475
             Project: CXF
          Issue Type: Bug
          Components: Soap Binding
    Affects Versions: 2.0.4
         Environment: Windows XP SP2, Java 1.6, generated web service from
            Reporter: Robert Rapant

			DynamicClientFactory dcf = DynamicClientFactory.newInstance();
			Client client = dcf.createClient("file:src/test/xNews.wsdl");
			Object[] res = client.invoke("GetStockHeadlines", "MSFT", 3);


			<Header xmlns:ns3=""
				xmlns="" xsi:type="ns3:int">3
				<Symbols xmlns="">


Server was unable to read request. --> There is an error in XML document (1, 85). -->
The specified type was not recognized: name='i
nt', namespace='', at &lt;Header xmlns=''&gt;.

In contrast, the direct manner of invocation below works fine:
			XigniteNews newsService = new XigniteNews();
			XigniteNewsSoap soap = newsService.getXigniteNewsSoap();
			ArrayOfStockNews newsArray = soap.getStockHeadlines("MSFT", 3);

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message