Bug 240722 - Cannot setup TCP/IP Monitor for soap12 endpoints
Summary: Cannot setup TCP/IP Monitor for soap12 endpoints
Status: CLOSED FIXED
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P2 major (vote)
Target Milestone: 3.0.1   Edit
Assignee: Andrew Mak CLA
QA Contact: Kathy Chan CLA
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2008-07-14 16:16 EDT by Andrew Mak CLA
Modified: 2008-08-01 02:24 EDT (History)
0 users

See Also:


Attachments
patch (28.67 KB, text/plain)
2008-07-16 10:23 EDT, Andrew Mak CLA
no flags Details
Documentation (3.51 KB, patch)
2008-07-30 12:05 EDT, Andrew Mak CLA
bjorn.freeman-benson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Mak CLA 2008-07-14 16:16:46 EDT
I'm using Web service wizards to create a Web service client, with the monitor service checkbox checked on the first page.  After wizard finishes no TCP/IP monitor is created.  It turns out this only happens if my wsdl has a soap12 endpoint.  If endpoint is soap11, it works.
Comment 1 Andrew Mak CLA 2008-07-16 10:20:08 EDT
The soap12 endpoint is bypassed in the code because the WTP does not recognize the ExtensibilityElement that represents the endpoint.

In fact, WTP does not support soap12 endpoints, but some of our adopter products do and their wsdl parser passes the soap12 endpoint to the monitor setup code which does not know how to read it.  To fix this, we need to let the adopter code read the enpoint for us, i.e. we need to expose an extension-point for this.
Comment 2 Andrew Mak CLA 2008-07-16 10:23:05 EDT
Created attachment 107617 [details]
patch

Also taken this opportunity to merge the jst and wst versions of the GetMonitorCommand, so we don't have to continue duo maintanance on these files (they are almost identical).
Comment 3 Kathy Chan CLA 2008-07-16 18:53:01 EDT
Patch reviewed and committed to R3_0_maintenance.  It has been released to WTP 3.0.1 as v200807162242.

Andrew, please add documentation to the exsd file defining the extension point.
Comment 4 Andrew Mak CLA 2008-07-30 12:04:58 EDT
Function is verified in maintenance build.  Re-opening for documentation.
Comment 5 Andrew Mak CLA 2008-07-30 12:05:41 EDT
Created attachment 108761 [details]
Documentation
Comment 6 Kathy Chan CLA 2008-07-30 21:33:11 EDT
Documentation released to R3_0_maintenance and HEAD as v200807310127.
Comment 7 Andrew Mak CLA 2008-07-31 10:18:36 EDT
Closing