You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by markpittsnh <ma...@yahoo.com> on 2006/05/25 20:32:26 UTC

Re: Http-binding example not working

Sorry for the volume. The following are the contents of servicemix.log after
running 'ant run', with the following servicemix.xml entry....

        <!-- This just invokes another service -->
        <sm:activationSpec componentName="stockQuote"   
                           service="foo:stockQuote"
                           endpoint="stockQuote">
          <sm:component>
            <bean class="org.apache.servicemix.components.saaj.SaajBinding">
                  <property name="soapEndpoint">
                      <bean class="javax.xml.messaging.URLEndpoint">
                          <constructor-arg
value="http://64.124.140.30:9090/soap"/>
                      </bean>
                  </property>
            </bean>
          </sm:component>
        </sm:activationSpec>

Thanks and regards,
Mark

14:25:41,146 | DEBUG | main       | ManagementContext        |
i.management.ManagementContext  567 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=ManagementContext
14:25:41,209 | DEBUG | main       | ManagementContext        |
i.management.ManagementContext  567 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=EnvironmentContext
14:25:41,256 | DEBUG | main       | ManagementContext        |
i.management.ManagementContext  567 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=Registry
14:25:41,271 | DEBUG | main       | ManagementContext        |
i.management.ManagementContext  567 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=DefaultBroker
14:25:41,350 | INFO  | main       | JBIContainer             |
mix.jbi.container.JBIContainer 1008 | Activating component for:
[container=ServiceMix,name=#SubscriptionManager#] with service: null
component: org.apache.servicemix.jbi.nmr.SubscriptionManager@118d189
14:25:41,412 | INFO  | main       | ComponentMBeanImpl       |
i.framework.ComponentMBeanImpl  184 | Initializing component:
#SubscriptionManager#
14:25:41,443 | DEBUG | main       | ManagementContext        |
i.management.ManagementContext  567 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=InstallationService
14:25:41,459 | DEBUG | main       | ManagementContext        |
i.management.ManagementContext  567 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=DeploymentService
14:25:41,475 | INFO  | main       | DeploymentService        |
bi.framework.DeploymentService  683 | Restoring service assemblies
14:25:41,475 | DEBUG | main       | ManagementContext        |
i.management.ManagementContext  567 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=AutoDeploymentService
14:25:41,490 | DEBUG | main       | AutoDeploymentService    |
ramework.AutoDeploymentService  564 | State file doesn't exist:
C:\java\incubating-servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\install.xml
14:25:41,490 | DEBUG | main       | AutoDeploymentService    |
ramework.AutoDeploymentService  564 | State file doesn't exist:
C:\java\incubating-servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\deploy.xml
14:25:41,490 | DEBUG | main       | ManagementContext        |
i.management.ManagementContext  567 | Registering system service:
org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=AdminCommandsService
14:25:41,522 | INFO  | main       | JBIContainer             |
mix.jbi.container.JBIContainer  538 | ServiceMix JBI Container
(http://servicemix.org/) name: ServiceMix running version: 3.0-SNAPSHOT
14:25:41,647 | INFO  | main       | JBIContainer             |
mix.jbi.container.JBIContainer 1008 | Activating component for:
[container=ServiceMix,name=httpReceiver] with service:
{http://servicemix.org/demo/}httpBinding component:
org.apache.servicemix.components.http.HttpConnector@165b7e
14:25:41,647 | INFO  | main       | ComponentMBeanImpl       |
i.framework.ComponentMBeanImpl  184 | Initializing component: httpReceiver
14:25:41,662 | DEBUG | main       | ComponentContextImpl     |
framework.ComponentContextImpl  133 | Component: httpReceiver activated
endpoint: {http://servicemix.org/demo/}httpBinding : httpReceiver
14:25:41,662 | DEBUG | main       | EndpointRegistry         |
jbi.framework.EndpointRegistry  239 | Endpoint
ServiceEndpoint[service={http://servicemix.org/demo/}httpBinding,endpoint=httpReceiver]
has no service description
14:25:41,693 | INFO  | main       | JBIContainer             |
mix.jbi.container.JBIContainer 1008 | Activating component for:
[container=ServiceMix,name=stockQuote] with service:
{http://servicemix.org/demo/}stockQuote component:
org.apache.servicemix.components.saaj.SaajBinding@30ae41
14:25:41,693 | INFO  | main       | ComponentMBeanImpl       |
i.framework.ComponentMBeanImpl  184 | Initializing component: stockQuote
14:25:41,693 | DEBUG | main       | ComponentContextImpl     |
framework.ComponentContextImpl  133 | Component: stockQuote activated
endpoint: {http://servicemix.org/demo/}stockQuote : stockQuote
14:25:41,693 | DEBUG | main       | EndpointRegistry         |
jbi.framework.EndpointRegistry  239 | Endpoint
ServiceEndpoint[service={http://servicemix.org/demo/}stockQuote,endpoint=stockQuote]
has no service description
14:25:41,834 | DEBUG | Timer-2    | AutoDeploymentService    |
ramework.AutoDeploymentService  484 | Monitoring directory
C:\java\incubating-servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\install
for new or modified archives
14:25:41,834 | DEBUG | Timer-2    | AutoDeploymentService    |
ramework.AutoDeploymentService  484 | Monitoring directory
C:\java\incubating-servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\deploy
for new or modified archives
14:25:49,166 | DEBUG | btpool0-1  | DeliveryChannelImpl      |
.messaging.DeliveryChannelImpl  166 | default destination serviceName for
httpReceiver = {http://servicemix.org/demo/}stockQuote
14:25:49,197 | DEBUG | btpool0-1  | DeliveryChannelImpl      |
.messaging.DeliveryChannelImpl  435 | Sending
ID:markpxpr52-3753-1148581540068-2:0 in DeliveryChannel{httpReceiver}
14:25:49,322 | DEBUG | btpool0-1  | DeliveryChannelImpl      |
.messaging.DeliveryChannelImpl  308 | Sent: MessageExchange[
  id: ID:markpxpr52-3753-1148581540068-2:0
  status: Active
  role: consumer
  service: {http://servicemix.org/demo/}stockQuote
  in: <?xml version="1.0" encoding="UTF-8"?><ns1:getQuote
xmlns:ns1="urn:xmethods-delayed-quotes"
xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
se:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <symbol xsi:type="xsd:string">IBM</symbol>
</ns1:getQuote>
]
14:25:49,322 | DEBUG | btpool0-1  | DefaultBroker            |
rvicemix.jbi.nmr.DefaultBroker  390 | Routing exchange MessageExchange[
  id: ID:markpxpr52-3753-1148581540068-2:0
  status: Active
  role: provider
  service: {http://servicemix.org/demo/}stockQuote
  endpoint: stockQuote
  in: <?xml version="1.0" encoding="UTF-8"?><ns1:getQuote
xmlns:ns1="urn:xmethods-delayed-quotes"
xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
se:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <symbol xsi:type="xsd:string">IBM</symbol>
</ns1:getQuote>
] to:
ServiceEndpoint[service={http://servicemix.org/demo/}stockQuote,endpoint=stockQuote]
14:25:49,322 | DEBUG | btpool0-1  | SedaFlow                 |
emix.jbi.nmr.flow.AbstractFlow  116 | Called Flow send
14:25:49,322 | DEBUG | btpool0-1  | SedaFlow                 |
emix.jbi.nmr.flow.AbstractFlow  165 | Called Flow doRouting
14:25:49,322 | DEBUG | btpool0-1  | DeliveryChannelImpl      |
.messaging.DeliveryChannelImpl  562 | Received: MessageExchange[
  id: ID:markpxpr52-3753-1148581540068-2:0
  status: Active
  role: provider
  service: {http://servicemix.org/demo/}stockQuote
  endpoint: stockQuote
  in: <?xml version="1.0" encoding="UTF-8"?><ns1:getQuote
xmlns:ns1="urn:xmethods-delayed-quotes"
xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
se:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <symbol xsi:type="xsd:string">IBM</symbol>
</ns1:getQuote>
]
14:25:49,713 | DEBUG | btpool0-1  | SaajMarshaler            |
.components.saaj.SaajMarshaler  152 | <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <ns1:getQuote se:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1="urn:xmethods-delayed-quotes"
xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
    <symbol xsi:type="xsd:string">IBM</symbol>

</ns1:getQuote>
 </soapenv:Body>
</soapenv:Envelope>
14:25:50,291 | DEBUG | btpool0-1  | SaajMarshaler            |
.components.saaj.SaajMarshaler   65 | <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <soapenv:Fault>
   <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:HTTP</faultcode>
   <faultstring>(403)Forbidden ( The ISA Server denies the specified Uniform
Resource Locator (URL).  )</faultstring>
   <detail>
    <string>return code:  403
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0
Transitional//EN&quot;&gt;
&lt;HTML dir=ltr&gt;&lt;HEAD&gt;&lt;TITLE&gt;The page cannot be
displayed&lt;/TITLE&gt;
&lt;STYLE&gt;A:link {
    FONT: 8pt/11pt verdana; COLOR: #ff0000
}
A:visited {
    FONT: 8pt/11pt verdana; COLOR: #4e4e4e
}
&lt;/STYLE&gt;

&lt;META content=NOINDEX name=ROBOTS&gt;
&lt;META http-equiv=Content-Type content=&quot;text-html;
charset=Windows-1252&quot;&gt;
&lt;SCRIPT&gt; 
function Homepage(){
&lt;!--
// in real bits, urls get returned to our script like this:
// res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm 

    //For testing use DocURL =
&quot;res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm&quot;
    DocURL=document.URL;
    
    //this is where the http or https will be, as found by searching for ://
but skipping the res://
    protocolIndex=DocURL.indexOf(&quot;://&quot;,4);
    
    //this finds the ending slash for the domain server 
    serverIndex=DocURL.indexOf(&quot;/&quot;,protocolIndex + 3);

    //for the href, we need a valid URL to the domain. We search for the #
symbol to find the begining 
    //of the true URL, and add 1 to skip it - this is the BeginURL value. We
use serverIndex as the end marker.
    //urlresult=DocURL.substring(protocolIndex - 4,serverIndex);
    BeginURL=DocURL.indexOf(&quot;#&quot;,1) + 1;
    urlresult=DocURL.substring(BeginURL,serverIndex);
        
    //for display, we need to skip after http://, and go to the next slash
    displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex);
    document.write('&lt;A HREF=&quot;' + urlresult + '&quot;&gt;' +
displayresult + &quot;&lt;/a&gt;&quot;);
}
//--&gt;
&lt;/SCRIPT&gt;

&lt;META content=&quot;MSHTML 5.50.4522.1800&quot;
name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY bgColor=#ffffff&gt;
&lt;TABLE cellSpacing=5 cellPadding=3 width=410&gt;
  &lt;TBODY&gt;
  &lt;TR&gt;
    &lt;TD vAlign=center align=left width=360&gt;
      &lt;H1 style=&quot;FONT: 13pt/15pt verdana; COLOR:
#000000&quot;&gt;&lt;!--Problem--&gt;The page 
      cannot be displayed&lt;/H1&gt;&lt;/TD&gt;&lt;/TR&gt;
  &lt;TR&gt;
    &lt;TD width=400 colSpan=2&gt;&lt;FONT 
      style=&quot;FONT: 8pt/11pt verdana; COLOR: #000000&quot;&gt;There is a
problem with the 
      page you are trying to reach and it cannot be
displayed.&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;
  &lt;TR&gt;
    &lt;TD width=400 colSpan=2&gt;&lt;FONT 
      style=&quot;FONT: 8pt/11pt verdana; COLOR: #000000&quot;&gt;
      &lt;HR color=#c0c0c0 noShade&gt;

      &lt;P&gt;Please try the following:&lt;/P&gt;
      &lt;UL&gt;
        &lt;LI&gt;Click the &lt;A
href=&quot;javascript:location.reload()&quot;&gt;Refresh&lt;/A&gt; button, 
        or try again later.&lt;BR&gt;
        &lt;LI&gt;Open the
        &lt;SCRIPT&gt;
      &lt;!--
      if (!((window.navigator.userAgent.indexOf(&quot;MSIE&quot;) &gt; 0)
&amp;&amp; (window.navigator.appVersion.charAt(0) == &quot;2&quot;)))
      {
       Homepage();
      }
      //--&gt;
      &lt;/SCRIPT&gt;
         home page, and then look for links to the information you want. 
        &lt;LI&gt;If you believe you should be able to view this directory
or page, 
        please contact the Web site administrator by using the e-mail
address or 
        phone number listed on the
        &lt;SCRIPT&gt; Homepage();&lt;/SCRIPT&gt;
         home page. &lt;/LI&gt;&lt;/UL&gt;
      &lt;H2 style=&quot;FONT: 8pt/11pt verdana; COLOR: #000000&quot;&gt;403
Forbidden - The ISA Server denies the specified Uniform Resource Locator
(URL). (12202)&lt;BR&gt;Internet Security and Acceleration Server&lt;/H2&gt;
     
&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;
HTTP/1.1 400 Bad Request ( The data is invalid.  )
Via:1.1 EDGEISAMA1
Connection: close
Proxy-Connection: close
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 3116  

&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0
Transitional//EN&quot;&gt;
&lt;HTML dir=ltr&gt;&lt;HEAD&gt;&lt;TITLE&gt;The page cannot be
displayed&lt;/TITLE&gt;
&lt;STYLE&gt;A:link {
    FONT: 8pt/11pt verdana; COLOR: #ff0000
}
A:visited {
    FONT: 8pt/11pt verdana; COLOR: #4e4e4e
}
&lt;/STYLE&gt;

&lt;META content=NOINDEX name=ROBOTS&gt;
&lt;META http-equiv=Content-Type content=&quot;text-html;
charset=Windows-1252&quot;&gt;
&lt;SCRIPT&gt; 
function Homepage(){
&lt;!--
// in real bits, urls get returned to our script like this:
// res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm 

    //For testing use DocURL =
&quot;res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm&quot;
    DocURL=document.URL;
    
    //this is where the http or https will be, as found by searching for ://
but skipping the res://
    protocolIndex=DocURL.indexOf(&quot;://&quot;,4);
    
    //this finds the ending slash for the domain server 
    serverIndex=DocURL.indexOf(&quot;/&quot;,protocolIndex + 3);

    //for the href, we need a valid URL to the domain. We search for the #
symbol to find the begining 
    //of the true URL, and add 1 to skip it - this is the BeginURL value. We
use serverIndex as the end marker.
    //urlresult=DocURL.substring(protocolIndex - 4,serverIndex);
    BeginURL=DocURL.indexOf(&quot;#&quot;,1) + 1;
    urlresult=DocURL.substring(BeginURL,serverIndex);
        
    //for display, we need to skip after http://, and go to the next slash
    displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex);
    document.write('&lt;A HREF=&quot;' + urlresult + '&quot;&gt;' +
displayresult + &quot;&lt;/a&gt;&quot;);
}
//--&gt;
&lt;/SCRIPT&gt;

&lt;META content=&quot;MSHTML 5.50.4522.1800&quot;
name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY bgColor=#ffffff&gt;
&lt;TABLE cellSpacing=5 cellPadding=3 width=410&gt;
  &lt;TBODY&gt;
  &lt;TR&gt;
    &lt;TD vAlign=center align=left width=360&gt;
      &lt;H1 style=&quot;FONT: 13pt/15pt verdana; COLOR:
#000000&quot;&gt;&lt;!--Problem--&gt;The page 
      cannot be displayed&lt;/H1&gt;&lt;/TD&gt;&lt;/TR&gt;
  &lt;TR&gt;
    &lt;TD width=400 colSpan=2&gt;&lt;FONT 
      style=&quot;FONT: 8pt/11pt verdana; COLOR: #000000&quot;&gt;There is a
problem with the 
      page you are trying to reach and it cannot be
displayed.&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;
  &lt;TR&gt;
    &lt;TD width=400 colSpan=2&gt;&lt;FONT 
      style=&quot;FONT: 8pt/11pt verdana; COLOR: #000000&quot;&gt;
      &lt;HR color=#c0c0c0 noShade&gt;

      &lt;P&gt;Please try the following:&lt;/P&gt;
      &lt;UL&gt;
        &lt;LI&gt;Click the &lt;A
href=&quot;javascript:location.reload()&quot;&gt;Refresh&lt;/A&gt; button, 
        or try again later.&lt;BR&gt;
        &lt;LI&gt;Open the
        &lt;SCRIPT&gt;
      &lt;!--
      if (!((window.navigator.userAgent.indexOf(&quot;MSIE&quot;) &gt; 0)
&amp;&amp; (window.navigator.appVersion.charAt(0) == &quot;2&quot;)))
      {
       Homepage();
      }
      //--&gt;
      &lt;/SCRIPT&gt;
         home page, and then look for links to the information you want. 
        &lt;LI&gt;If you believe you should be able to view this directory
or page, 
        please contact the Web site administrator by using the e-mail
address or 
        phone number listed on the
        &lt;SCRIPT&gt; Homepage();&lt;/SCRIPT&gt;
         home page. &lt;/LI&gt;&lt;/UL&gt;
      &lt;H2 style=&quot;FONT: 8pt/11pt verdana; COLOR: #000000&quot;&gt;400
Bad Request - The data is invalid. (13)&lt;BR&gt;Internet Security and
Acceleration Server&lt;/H2&gt;
     
&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;
</string>
    <ns2:HttpErrorCode
xmlns:ns2="http://xml.apache.org/axis/">403</ns2:HttpErrorCode>
   </detail>
  </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>
14:25:50,479 | DEBUG | btpool0-1  | SaajMarshaler            |
.components.saaj.SaajMarshaler  111 | <?xml version="1.0"
encoding="UTF-8"?><soapenv:Fault
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><faultcode/><faultstring/><detail><string>return
code:  403
&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;
&lt;HTML dir=ltr&gt;&lt;HEAD&gt;&lt;TITLE&gt;The page cannot be
displayed&lt;/TITLE&gt;
&lt;STYLE&gt;A:link {
    FONT: 8pt/11pt verdana; COLOR: #ff0000
}
A:visited {
    FONT: 8pt/11pt verdana; COLOR: #4e4e4e
}
&lt;/STYLE&gt;

&lt;META content=NOINDEX name=ROBOTS&gt;
&lt;META http-equiv=Content-Type content="text-html;
charset=Windows-1252"&gt;
&lt;SCRIPT&gt; 
function Homepage(){
&lt;!--
// in real bits, urls get returned to our script like this:
// res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm 

    //For testing use DocURL =
"res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm"
    DocURL=document.URL;
    
    //this is where the http or https will be, as found by searching for ://
but skipping the res://
    protocolIndex=DocURL.indexOf("://",4);
    
    //this finds the ending slash for the domain server 
    serverIndex=DocURL.indexOf("/",protocolIndex + 3);

    //for the href, we need a valid URL to the domain. We search for the #
symbol to find the begining 
    //of the true URL, and add 1 to skip it - this is the BeginURL value. We
use serverIndex as the end marker.
    //urlresult=DocURL.substring(protocolIndex - 4,serverIndex);
    BeginURL=DocURL.indexOf("#",1) + 1;
    urlresult=DocURL.substring(BeginURL,serverIndex);
        
    //for display, we need to skip after http://, and go to the next slash
    displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex);
    document.write('&lt;A HREF="' + urlresult + '"&gt;' + displayresult +
"&lt;/a&gt;");
}
//--&gt;
&lt;/SCRIPT&gt;

&lt;META content="MSHTML 5.50.4522.1800" name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY bgColor=#ffffff&gt;
&lt;TABLE cellSpacing=5 cellPadding=3 width=410&gt;
  &lt;TBODY&gt;
  &lt;TR&gt;
    &lt;TD vAlign=center align=left width=360&gt;
      &lt;H1 style="FONT: 13pt/15pt verdana; COLOR:
#000000"&gt;&lt;!--Problem--&gt;The page 
      cannot be displayed&lt;/H1&gt;&lt;/TD&gt;&lt;/TR&gt;
  &lt;TR&gt;
    &lt;TD width=400 colSpan=2&gt;&lt;FONT 
      style="FONT: 8pt/11pt verdana; COLOR: #000000"&gt;There is a problem
with the 
      page you are trying to reach and it cannot be
displayed.&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;
  &lt;TR&gt;
    &lt;TD width=400 colSpan=2&gt;&lt;FONT 
      style="FONT: 8pt/11pt verdana; COLOR: #000000"&gt;
      &lt;HR color=#c0c0c0 noShade&gt;

      &lt;P&gt;Please try the following:&lt;/P&gt;
      &lt;UL&gt;
        &lt;LI&gt;Click the &lt;A
href="javascript:location.reload()"&gt;Refresh&lt;/A&gt; button, 
        or try again later.&lt;BR&gt;
        &lt;LI&gt;Open the
        &lt;SCRIPT&gt;
      &lt;!--
      if (!((window.navigator.userAgent.indexOf("MSIE") &gt; 0) &amp;&amp;
(window.navigator.appVersion.charAt(0) == "2")))
      {
       Homepage();
      }
      //--&gt;
      &lt;/SCRIPT&gt;
         home page, and then look for links to the information you want. 
        &lt;LI&gt;If you believe you should be able to view this directory
or page, 
        please contact the Web site administrator by using the e-mail
address or 
        phone number listed on the
        &lt;SCRIPT&gt; Homepage();&lt;/SCRIPT&gt;
         home page. &lt;/LI&gt;&lt;/UL&gt;
      &lt;H2 style="FONT: 8pt/11pt verdana; COLOR: #000000"&gt;403 Forbidden
- The ISA Server denies the specified Uniform Resource Locator (URL).
(12202)&lt;BR&gt;Internet Security and Acceleration Server&lt;/H2&gt;
     
&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;
HTTP/1.1 400 Bad Request ( The data is invalid.  )
Via:1.1 EDGEISAMA1
Connection: close
Proxy-Connection: close
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 3116  

&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;
&lt;HTML dir=ltr&gt;&lt;HEAD&gt;&lt;TITLE&gt;The page cannot be
displayed&lt;/TITLE&gt;
&lt;STYLE&gt;A:link {
    FONT: 8pt/11pt verdana; COLOR: #ff0000
}
A:visited {
    FONT: 8pt/11pt verdana; COLOR: #4e4e4e
}
&lt;/STYLE&gt;

&lt;META content=NOINDEX name=ROBOTS&gt;
&lt;META http-equiv=Content-Type content="text-html;
charset=Windows-1252"&gt;
&lt;SCRIPT&gt; 
function Homepage(){
&lt;!--
// in real bits, urls get returned to our script like this:
// res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm 

    //For testing use DocURL =
"res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm"
    DocURL=document.URL;
    
    //this is where the http or https will be, as found by searching for ://
but skipping the res://
    protocolIndex=DocURL.indexOf("://",4);
    
    //this finds the ending slash for the domain server 
    serverIndex=DocURL.indexOf("/",protocolIndex + 3);

    //for the href, we need a valid URL to the domain. We search for the #
symbol to find the begining 
    //of the true URL, and add 1 to skip it - this is the BeginURL value. We
use serverIndex as the end marker.
    //urlresult=DocURL.substring(protocolIndex - 4,serverIndex);
    BeginURL=DocURL.indexOf("#",1) + 1;
    urlresult=DocURL.substring(BeginURL,serverIndex);
        
    //for display, we need to skip after http://, and go to the next slash
    displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex);
    document.write('&lt;A HREF="' + urlresult + '"&gt;' + displayresult +
"&lt;/a&gt;");
}
//--&gt;
&lt;/SCRIPT&gt;

&lt;META content="MSHTML 5.50.4522.1800" name=GENERATOR&gt;&lt;/HEAD&gt;
&lt;BODY bgColor=#ffffff&gt;
&lt;TABLE cellSpacing=5 cellPadding=3 width=410&gt;
  &lt;TBODY&gt;
  &lt;TR&gt;
    &lt;TD vAlign=center align=left width=360&gt;
      &lt;H1 style="FONT: 13pt/15pt verdana; COLOR:
#000000"&gt;&lt;!--Problem--&gt;The page 
      cannot be displayed&lt;/H1&gt;&lt;/TD&gt;&lt;/TR&gt;
  &lt;TR&gt;
    &lt;TD width=400 colSpan=2&gt;&lt;FONT 
      style="FONT: 8pt/11pt verdana; COLOR: #000000"&gt;There is a problem
with the 
      page you are trying to reach and it cannot be
displayed.&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;
  &lt;TR&gt;
    &lt;TD width=400 colSpan=2&gt;&lt;FONT 
      style="FONT: 8pt/11pt verdana; COLOR: #000000"&gt;
      &lt;HR color=#c0c0c0 noShade&gt;

      &lt;P&gt;Please try the following:&lt;/P&gt;
      &lt;UL&gt;
        &lt;LI&gt;Click the &lt;A
href="javascript:location.reload()"&gt;Refresh&lt;/A&gt; button, 
        or try again later.&lt;BR&gt;
        &lt;LI&gt;Open the
        &lt;SCRIPT&gt;
      &lt;!--
      if (!((window.navigator.userAgent.indexOf("MSIE") &gt; 0) &amp;&amp;
(window.navigator.appVersion.charAt(0) == "2")))
      {
       Homepage();
      }
      //--&gt;
      &lt;/SCRIPT&gt;
         home page, and then look for links to the information you want. 
        &lt;LI&gt;If you believe you should be able to view this directory
or page, 
        please contact the Web site administrator by using the e-mail
address or 
        phone number listed on the
        &lt;SCRIPT&gt; Homepage();&lt;/SCRIPT&gt;
         home page. &lt;/LI&gt;&lt;/UL&gt;
      &lt;H2 style="FONT: 8pt/11pt verdana; COLOR: #000000"&gt;400 Bad
Request - The data is invalid. (13)&lt;BR&gt;Internet Security and
Acceleration Server&lt;/H2&gt;
     
&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</string><ns2:HttpErrorCode
xmlns:ns2="http://xml.apache.org/axis/">403</ns2:HttpErrorCode></detail></soapenv:Fault>
14:25:50,572 | DEBUG | btpool0-1  | DeliveryChannelImpl      |
.messaging.DeliveryChannelImpl  308 | Sent: MessageExchange[
  id: ID:markpxpr52-3753-1148581540068-2:0
  status: Active
  role: provider
  service: {http://servicemix.org/demo/}stockQuote
  endpoint: stockQuote
  in: <?xml version="1.0" encoding="UTF-8"?><ns1:getQuote
xmlns:ns1="urn:xmethods-delayed-quotes"
xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
se:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <symbol xsi:type="xsd:string">IBM</symbol>
</ns1:getQuote>
  out: <?xml version="1.0" encoding="UTF-8"?><soapenv:Fault
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><faultcode/><faultstring/><detail><string>return
code:  403
&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;
&lt;HTML dir=ltr&gt;&lt;HEAD&gt;&lt;TITLE&gt;The page cannot be
displayed&lt;/TITLE&gt;
&lt;STYLE&gt;A:link {
    FONT: 8pt/11pt verdana; COLOR: #ff0000
}
A:visited {
    FONT: 8pt/11pt verdana; COLOR: #4e4e4e
}
&lt;/STYLE&gt;

&lt;META content=NOINDEX name=ROBOTS&gt;
&lt;META http-equiv=Content-Type content="text-html;
charset=Windows-1252"&gt;
&lt;SCRIPT&gt; 
function Homepage(){
&lt;!--
// in real bits, urls get returned to our script like this:
// res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm 

    //For testing use DocURL =
"res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm"
    DocURL=document.URL;
    
    //this is where the http or https will be, as found by searching for ://
but skipping the res://
    protocolIndex=DocURL.indexOf("://",4);
    
    //this finds the ending slash for the domain server 
    serverIndex=DocURL.indexOf("/",protocolIndex + 3);

    //for the href, we need a valid URL to the domain. We search for the #
symbol to find the begining 
    //of the true URL, and add 1 to skip it - this is the BeginURL value. We
use serverIndex as the end marker.
    //urlresult=DocURL.substring(protocolInde...
]
14:25:50,572 | DEBUG | btpool0-1  | SedaFlow                 |
emix.jbi.nmr.flow.AbstractFlow  116 | Called Flow send
14:25:50,572 | DEBUG | btpool0-1  | SedaFlow                 |
emix.jbi.nmr.flow.AbstractFlow  165 | Called Flow doRouting
14:25:50,651 | DEBUG | btpool0-1  | DeliveryChannelImpl      |
.messaging.DeliveryChannelImpl  308 | Sent: MessageExchange[
  id: ID:markpxpr52-3753-1148581540068-2:0
  status: Done
  role: consumer
  service: {http://servicemix.org/demo/}stockQuote
  endpoint: stockQuote
  in: <?xml version="1.0" encoding="UTF-8"?><ns1:getQuote
xmlns:ns1="urn:xmethods-delayed-quotes"
xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
se:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <symbol xsi:type="xsd:string">IBM</symbol>
</ns1:getQuote>
  out: <?xml version="1.0" encoding="UTF-8"?><soapenv:Fault
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><faultcode/><faultstring/><detail><string>return
code:  403
&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;
&lt;HTML dir=ltr&gt;&lt;HEAD&gt;&lt;TITLE&gt;The page cannot be
displayed&lt;/TITLE&gt;
&lt;STYLE&gt;A:link {
    FONT: 8pt/11pt verdana; COLOR: #ff0000
}
A:visited {
    FONT: 8pt/11pt verdana; COLOR: #4e4e4e
}
&lt;/STYLE&gt;

&lt;META content=NOINDEX name=ROBOTS&gt;
&lt;META http-equiv=Content-Type content="text-html;
charset=Windows-1252"&gt;
&lt;SCRIPT&gt; 
function Homepage(){
&lt;!--
// in real bits, urls get returned to our script like this:
// res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm 

    //For testing use DocURL =
"res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm"
    DocURL=document.URL;
    
    //this is where the http or https will be, as found by searching for ://
but skipping the res://
    protocolIndex=DocURL.indexOf("://",4);
    
    //this finds the ending slash for the domain server 
    serverIndex=DocURL.indexOf("/",protocolIndex + 3);

    //for the href, we need a valid URL to the domain. We search for the #
symbol to find the begining 
    //of the true URL, and add 1 to skip it - this is the BeginURL value. We
use serverIndex as the end marker.
    //urlresult=DocURL.substring(protocolInde...
]
14:25:50,651 | DEBUG | btpool0-1  | SedaFlow                 |
emix.jbi.nmr.flow.AbstractFlow  116 | Called Flow send
14:25:50,682 | DEBUG | Thread-8   | SedaQueue                |
.jbi.nmr.flow.seda.SedaQueue$1  220 |
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@95215b dequeued
exchange: MessageExchange[
  id: ID:markpxpr52-3753-1148581540068-2:0
  status: Done
  role: provider
  service: {http://servicemix.org/demo/}stockQuote
  endpoint: stockQuote
  in: <?xml version="1.0" encoding="UTF-8"?><ns1:getQuote
xmlns:ns1="urn:xmethods-delayed-quotes"
xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
se:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <symbol xsi:type="xsd:string">IBM</symbol>
</ns1:getQuote>
  out: <?xml version="1.0" encoding="UTF-8"?><soapenv:Fault
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><faultcode/><faultstring/><detail><string>return
code:  403
&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;
&lt;HTML dir=ltr&gt;&lt;HEAD&gt;&lt;TITLE&gt;The page cannot be
displayed&lt;/TITLE&gt;
&lt;STYLE&gt;A:link {
    FONT: 8pt/11pt verdana; COLOR: #ff0000
}
A:visited {
    FONT: 8pt/11pt verdana; COLOR: #4e4e4e
}
&lt;/STYLE&gt;

&lt;META content=NOINDEX name=ROBOTS&gt;
&lt;META http-equiv=Content-Type content="text-html;
charset=Windows-1252"&gt;
&lt;SCRIPT&gt; 
function Homepage(){
&lt;!--
// in real bits, urls get returned to our script like this:
// res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm 

    //For testing use DocURL =
"res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm"
    DocURL=document.URL;
    
    //this is where the http or https will be, as found by searching for ://
but skipping the res://
    protocolIndex=DocURL.indexOf("://",4);
    
    //this finds the ending slash for the domain server 
    serverIndex=DocURL.indexOf("/",protocolIndex + 3);

    //for the href, we need a valid URL to the domain. We search for the #
symbol to find the begining 
    //of the true URL, and add 1 to skip it - this is the BeginURL value. We
use serverIndex as the end marker.
    //urlresult=DocURL.substring(protocolInde...
]
14:25:50,682 | DEBUG | Thread-8   | SedaFlow                 |
emix.jbi.nmr.flow.AbstractFlow  165 | Called Flow doRouting
14:25:50,682 | DEBUG | Thread-8   | DeliveryChannelImpl      |
.messaging.DeliveryChannelImpl  562 | Received: MessageExchange[
  id: ID:markpxpr52-3753-1148581540068-2:0
  status: Done
  role: provider
  service: {http://servicemix.org/demo/}stockQuote
  endpoint: stockQuote
  in: <?xml version="1.0" encoding="UTF-8"?><ns1:getQuote
xmlns:ns1="urn:xmethods-delayed-quotes"
xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
se:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <symbol xsi:type="xsd:string">IBM</symbol>
</ns1:getQuote>
  out: <?xml version="1.0" encoding="UTF-8"?><soapenv:Fault
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><faultcode/><faultstring/><detail><string>return
code:  403
&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;
&lt;HTML dir=ltr&gt;&lt;HEAD&gt;&lt;TITLE&gt;The page cannot be
displayed&lt;/TITLE&gt;
&lt;STYLE&gt;A:link {
    FONT: 8pt/11pt verdana; COLOR: #ff0000
}
A:visited {
    FONT: 8pt/11pt verdana; COLOR: #4e4e4e
}
&lt;/STYLE&gt;

&lt;META content=NOINDEX name=ROBOTS&gt;
&lt;META http-equiv=Content-Type content="text-html;
charset=Windows-1252"&gt;
&lt;SCRIPT&gt; 
function Homepage(){
&lt;!--
// in real bits, urls get returned to our script like this:
// res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm 

    //For testing use DocURL =
"res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm"
    DocURL=document.URL;
    
    //this is where the http or https will be, as found by searching for ://
but skipping the res://
    protocolIndex=DocURL.indexOf("://",4);
    
    //this finds the ending slash for the domain server 
    serverIndex=DocURL.indexOf("/",protocolIndex + 3);

    //for the href, we need a valid URL to the domain. We search for the #
symbol to find the begining 
    //of the true URL, and add 1 to skip it - this is the BeginURL value. We
use serverIndex as the end marker.
    //urlresult=DocURL.substring(protocolInde...
]
14:25:51,839 | DEBUG | Timer-2    | AutoDeploymentService    |
ramework.AutoDeploymentService  484 | Monitoring directory
C:\java\incubating-servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\install
for new or modified archives
14:25:51,839 | DEBUG | Timer-2    | AutoDeploymentService    |
ramework.AutoDeploymentService  484 | Monitoring directory
C:\java\incubating-servicemix-3.0-SNAPSHOT\examples\http-binding\rootDir\deploy
for new or modified archives



--
View this message in context: http://www.nabble.com/Http-binding+example+not+working-t980228.html#a4563790
Sent from the ServiceMix - User forum at Nabble.com.