Bug 1041220

Summary: Designer generates wrong view model transformations for some SOAP services
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Filip Nguyen <fnguyen>
Component: ToolingAssignee: Van Halbert <vhalbert>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: lfabriko, tejones, vhalbert
Target Milestone: CR2   
Target Release: 6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-06 15:37:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
wsdl used for the testing none

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