Re: Webservice and TCPMonitor

2010-02-19 Thread denstar

On Thu, Feb 18, 2010 at 3:55 PM, John M Bliss wrote:

 Hm.  That doesn't come with CFBuilder standalone.  Anyone know how to add it
 in?

That monitor *I think* comes with WTP (webtools) as part of the Server
Tools stuff.

There's this other standalone deal:

http://www.membrane-soa.org/soap-monitor/

That looked cool too...

:den

-- 
Is it honest for me to go and sit there on communion day and drink the
wine and eat the bread while feeling it all to be mummery?
John Fis

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330970
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Webservice and TCPMonitor

2010-02-18 Thread John M Bliss

Hi.  I'm getting an error when trying to consume a webservice and when I use
GetSOAPRequest() to try to see the SOAP request being sent, I get, Unable
get the SOAP message as XML.  There was an error when retrieving the SOAP
envelope from the web service engine:
coldfusion.runtime.SOAPFunc$UnableToGetXMLException: Unable get the SOAP
message as XML.

So I'm trying to use TCPMonitor detailed here:
http://livedocs.adobe.com/coldfusion/8/htmldocs/webservices_27.html#1222065instead.
 When I set it up like this:

Listen Port: 8123
Host: 127.0.0.1
Port: 80

,,,and then call
http://localhost:8123/page_with_call_to_webservice.cfmTCPMonitor just
shows me that request and the resulting error page.

Does anyone know how to setup TCPMonitor so that it'll show me the CF
server's **outbound** request to the webservice?

-- 
John Bliss
IT Professional
@jbliss (t) / http://www.brandiandjohn.com


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330891
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Webservice and TCPMonitor

2010-02-18 Thread Dave Watts

 So I'm trying to use TCPMonitor detailed here:
 http://livedocs.adobe.com/coldfusion/8/htmldocs/webservices_27.html#1222065instead.
  When I set it up like this:

 Listen Port: 8123
 Host: 127.0.0.1
 Port: 80

 ,,,and then call
 http://localhost:8123/page_with_call_to_webservice.cfmTCPMonitor just
 shows me that request and the resulting error page.

 Does anyone know how to setup TCPMonitor so that it'll show me the CF
 server's **outbound** request to the webservice?

Change the host to the remote host you're trying to connect to?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330894
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Webservice and TCPMonitor

2010-02-18 Thread John M Bliss

 Change the host to the remote host you're trying to connect to?

Let's say webservice is at https://domain.com/this?wsdl  I tried setting
TCPMonitor to:

Listen Port: 443
Host: domain.com
Port: 443

...but when I click Start, I get, java.net.BindException: Address already
in use: JVM_Bind  So then I tried:

Listen Port: 4430
Host: domain.com
Port: 443

...and changed the cfobject call to each of these, in turn:

https://domain.com:4430/this?wsdl
http://domain.com:4430/this?wsdl

...neither of which worked.  They both produced, Unable to read WSDL from
URL and TCPMonitor showed no activity.  Same results when I tried setting
TCPMonitor to:

Host: [IP address of domain.com]

Any other ideas on how to capture the SOAP request that CF server is sending
out behind the scenes?


On Thu, Feb 18, 2010 at 3:37 PM, Dave Watts dwa...@figleaf.com wrote:


  So I'm trying to use TCPMonitor detailed here:
 
 http://livedocs.adobe.com/coldfusion/8/htmldocs/webservices_27.html#1222065instead
 .
   When I set it up like this:
 
  Listen Port: 8123
  Host: 127.0.0.1
  Port: 80
 
  ,,,and then call
  http://localhost:8123/page_with_call_to_webservice.cfmTCPMonitor just
  shows me that request and the resulting error page.
 
  Does anyone know how to setup TCPMonitor so that it'll show me the CF
  server's **outbound** request to the webservice?

 Change the host to the remote host you're trying to connect to?

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330898
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Webservice and TCPMonitor

2010-02-18 Thread denstar

I use the one built into Eclipse :

http://coldshen.com/blog/index.cfm/2007/7/29/Using-the-TCPIP-Monitor-in-Eclipse-33

:den

-- 
The artist finds, that the more he can confine his attention to a
particular part of any work, his productions are the more perfect, and
grow under his hands in the greater quantities.
Adam Ferguson

On Thu, Feb 18, 2010 at 3:37 PM, John M Bliss  wrote:
...
 Any other ideas on how to capture the SOAP request that CF server is sending
 out behind the scenes?

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330900
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Webservice and TCPMonitor

2010-02-18 Thread John M Bliss

Hm.  That doesn't come with CFBuilder standalone.  Anyone know how to add it
in?

On Thu, Feb 18, 2010 at 4:50 PM, denstar valliants...@gmail.com wrote:


 I use the one built into Eclipse :


 http://coldshen.com/blog/index.cfm/2007/7/29/Using-the-TCPIP-Monitor-in-Eclipse-33

 :den

 --
 The artist finds, that the more he can confine his attention to a
 particular part of any work, his productions are the more perfect, and
 grow under his hands in the greater quantities.
 Adam Ferguson

 On Thu, Feb 18, 2010 at 3:37 PM, John M Bliss  wrote:
 ...
  Any other ideas on how to capture the SOAP request that CF server is
 sending
  out behind the scenes?

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330901
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Webservice and TCPMonitor

2010-02-18 Thread Dave Watts

 Change the host to the remote host you're trying to connect to?

 Let's say webservice is at https://domain.com/this?wsdl  I tried setting
 TCPMonitor to:

 Listen Port: 443
 Host: domain.com
 Port: 443

 ...but when I click Start, I get, java.net.BindException: Address already
 in use: JVM_Bind  So then I tried:

 Listen Port: 4430
 Host: domain.com
 Port: 443

 ...and changed the cfobject call to each of these, in turn:

 https://domain.com:4430/this?wsdl
 http://domain.com:4430/this?wsdl

 ...neither of which worked.  They both produced, Unable to read WSDL from
 URL and TCPMonitor showed no activity.  Same results when I tried setting
 TCPMonitor to:

 Host: [IP address of domain.com]

Well, so much for that guess. I just use Wireshark/tcpdump for this
sort of thing nowadays, typically. The utility you're using is there
to let you capture incoming requests, and I don't know if it supports
outgoing requests.

 Any other ideas on how to capture the SOAP request that CF server is sending
 out behind the scenes?

Google HTTP sniffer for lots of options that will let you capture
traffic. There are a lot of tools that are simpler to use than
Wireshark for this sort of thing - I just use it because I use it for
other things as well, and having one tool works better for me than
having multiple tools with overlapping functionality.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or ons

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330904
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Webservice and TCPMonitor

2010-02-18 Thread Dave Watts

 Well, so much for that guess. I just use Wireshark/tcpdump for this
 sort of thing nowadays, typically. The utility you're using is there
 to let you capture incoming requests, and I don't know if it supports
 outgoing requests.

OK, I spent a minute reading the documentation for the TCPMonitor
utility, and I guess it should work for outbound connections too,
although again I don't have much experience with it.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330905
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4