Bug 1041220 - Designer generates wrong view model transformations for some SOAP services
Summary: Designer generates wrong view model transformations for some SOAP services
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Tooling
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: CR2
: 6.0
Assignee: Van Halbert
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 13:59 UTC by Filip Nguyen
Modified: 2014-07-09 05:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-06 15:37:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
wsdl used for the testing (2.43 KB, text/xml)
2013-12-12 14:00 UTC, Filip Nguyen
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIIDDES-1992 0 Critical Closed Designer generates wrong view model transformations for some services 2015-09-08 02:45:36 UTC

Description Filip Nguyen 2013-12-12 13:59:29 UTC
When generating web service view from WSDL, the designer incorrectly adds the namespace to the request. The request [1] declares the "tns" prefix but since the namespace is not added to the actual request it generates [2]. 

User can workaround this by directly modifying the request [3].

[1] 
CREATE VIRTUAL PROCEDURE
BEGIN
	SELECT XMLELEMENT(NAME getPeopleByName, XMLNAMESPACES('http://www.jboss.org/jbossas/dv/PeopleJaxws' AS tns)) AS xml_out;
END

[2] Caused by: javax.xml.ws.ProtocolException: Remote javax.xml.ws.soap.SOAPFaultException: Unexpected wrapper element getPeopleByName found.   Expected {http://www.jboss.org/jbossas/dv/PeopleJaxws}getPeopleByName.

[3] 
CREATE VIRTUAL PROCEDURE
BEGIN
	SELECT XMLELEMENT(NAME getPeopleByName, XMLNAMESPACES(DEFAULT 'http://www.jboss.org/jbossas/dv/PeopleJaxws')) AS xml_out;
END

Comment 1 Filip Nguyen 2013-12-12 14:00:01 UTC
Created attachment 835810 [details]
wsdl used for the testing

Comment 2 Filip Nguyen 2013-12-12 14:00:41 UTC
Doesnt block the GA.

Comment 5 Ted Jones 2013-12-17 16:51:09 UTC
Filip,

Can you please attach your service to the BZ as well?

Thanks

Comment 6 JBoss JIRA Server 2013-12-21 15:26:05 UTC
Ted Jones <tejones> updated the status of jira TEIIDDES-1992 to Resolved

Comment 7 Lucie Fabrikova 2014-02-03 13:21:49 UTC
Verified in JBDSIS-7.0.0.GA-GA + DV 6.0.0.GA.

Comment 8 JBoss JIRA Server 2014-02-19 18:58:03 UTC
Ramesh Reddy <rareddy> updated the status of jira TEIIDDES-1992 to Reopened

Comment 9 JBoss JIRA Server 2014-04-29 17:25:26 UTC
Ted Jones <tejones> updated the status of jira TEIIDDES-1992 to Resolved

Comment 10 JBoss JIRA Server 2014-05-07 21:06:15 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-1992 to Closed


Note You need to log in before you can comment on or make changes to this bug.