Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 868874

Summary: The "rewrite-endpoint-url" property of SOAPProcessor doesn't work for HTTP Gateway
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Tadayoshi Sato <tasato>
Component: JBossESBAssignee: Nobody <nobody>
Status: CLOSED UPSTREAM QA Contact: Jiri Pechanec <jpechane>
Severity: high Docs Contact:
Priority: high    
Version: 5.3.0 GACC: jpechane, ldimaggi, soa-p-jira, tcunning
Target Milestone: ER1   
Target Release: 5.3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Release Note
Doc Text:
Users experienced problems when specifying an endpoint URL while using the SOAPProcessor with HTTP Gateway. After setting the rewrite-endpoint-url to "false", the URL would persistently be overwritten and replaced with the original JBoss ESB URL. This was due to the Publisher not initialising with the Gateway. This has been resolved in the current release.
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:20:58 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:

Description Tadayoshi Sato 2012-10-22 10:49:52 UTC
Description of problem:
Platform BZ for https://issues.jboss.org/browse/JBESB-3868

When I use SOAPProcessor with HTTP Gateway, even setting the "rewrite-endpoint-url" property to false results in the endpoint URL in the published WSDL rewritten from the original one to that of the ESB.

Note that with JBR Gateway (using HTTP protocol), this property can turn off the endpoint URL rewriting.


How reproducible:
Easy.

Steps to Reproduce:
1. Pick up the "webservice_producer" quickstart and modify it to use HTTP Gateway.
2. Add the "rewrite-endpoint-url" property with false to the SOAPProcessor in the action pipeline.
3. Deploy this quickstart and confirm the endpoint URL in WSDL is rewritten through the contract web.
  
Actual results:
The endpoint URL in WSDL is rewritten.

Expected results:
The endpoint URL in WSDL shouldn't be rewritten.

Comment 1 JBoss JIRA Server 2012-10-23 02:23:28 UTC
Tadayoshi Sato <tadayosi> made a comment on jira JBESB-3868

The root cause I found is: JBossWSWebserviceContractPublisher (a publisher for SOAPProcessor) has two instances, one for ContractProvider (HTTP Gateway) and the other for Publisher (Contract Web / JBR Gateway). But only the instance for Publisher initialises the {{rewriteEndpointUrl}} field. That's why it doesn't work only for HTTP Gateway.

Comment 2 JBoss JIRA Server 2012-10-26 01:02:52 UTC
Tadayoshi Sato <tadayosi> updated the status of jira JBESB-3868 to Resolved

Comment 3 Jiri Pechanec 2012-11-14 09:03:22 UTC
Verified in ER1

Comment 4 JBoss JIRA Server 2013-03-15 17:24:13 UTC
Tom Cunningham <tcunning> updated the status of jira JBESB-3868 to Closed

Comment 11 Red Hat Bugzilla 2025-02-10 03:20:58 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.