You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Elizabeth Delouise <ed...@us.ibm.com> on 2006/06/14 19:27:44 UTC
No address info in EPR error
Does anyone have insight to a runtime error I am getting in Eclipse: "
Exception in thread "main" org.osoa.sca.ServiceRuntimeException:
org.apache.axis2.AxisFault: No address information in EPR, cannot infer
transport". I am trying to set up an "HTTP Get" Binding, using the
Helloworldws and Helloworldwsclient samples from tuscany. There may be a
problem with the way my message is declared in the wsdl; I tried to follow
the big bank example, my XML book's example, as well as the code generated
by the Eclipse plugin for wsdl, but none seem to work. Here is my message
declaration:
<wsdl:message name="getGreetingsRequestHttpGet">
<wsdl:part name="getGreetings" element="tns:getGreetings">
</wsdl:part>
</wsdl:message>
<wsdl:message name="getGreetingsResponseHttpGet">
<wsdl:part name="getGreetingsReponse" element=
"tns:getGreetingsResponse">
</wsdl:part>
</wsdl:message>
Specifically, the part name and element are the problem. This may have
nothing to do with the error I am getting, but previously I had trouble
declaring something in the "part" that it would accept as an SDO.
--
Elizabeth DeLouise
IBM Software Group, Application and Integration Middleware Software
7G WebSphere S/390 U Z/OS Development
Tieline- 295-8863 / Phone- (845) 435-8863
edelouise@us.ibm.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: No address info in EPR error
Posted by Daniel Kulp <da...@iona.com>.
Sebastien,
> Tuscany currently supports two different implementations of the SCA web
> service binding:
> - on top of Axis2, and Axis2 supports HTTP get (see
> http://ws.apache.org/axis2/1_0/rest-ws.html#rest_with_get)
> - on top of Celtix, and Dan please keep me honest here, but I think your
> Celtix binding also support HTTP get bindings, right?
Just to keep you honest:
Well, yes and no. It supposedly did, but there was a bug in the 1.0 version
that tuscany is using that causes a null pointer exception. We have a
patch for it and if our apache proposal goes through, it will be in the code
we put in apache which we'll migrate tuscany over to using. Also, I don't
think the celtix code currently in tuscany would take it into affect even if
it did work. We probably should log a JIRA issue for it.
> So in theory this should work, now the reality is that we've never
> exercised that path so you are exploring unknown territory. From your
> previous email, I understand that you ran into some errors. Can you
> please give us a little more info, could you post the WSDL you used,
> tell us if you tried with the Axis2 binding or the Celtix binding, and
> give us more details on the error you're getting? Then we can see if
> this is something that we need to fix in our code, a problem with the
> underlying stack, or a setup problem... Thanks.
In any case, I'd like to see the use case and the generated error. A JIRA
issue with any information would be great. Even better with a test case.
Even better with a patch. :-)
Thanks!
--
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727 C: 508-380-7194 F:781-902-8001
daniel.kulp@iona.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: No address info in EPR error
Posted by Jean-Sebastien Delfino <js...@apache.org>.
[snip]
Elizabeth Delouise wrote:
> More specifically, my question is whether or not the tuscany runtime
> supports an Http-Get binding. I was told that it does not.
>
Tuscany currently supports two different implementations of the SCA web
service binding:
- on top of Axis2, and Axis2 supports HTTP get (see
http://ws.apache.org/axis2/1_0/rest-ws.html#rest_with_get)
- on top of Celtix, and Dan please keep me honest here, but I think your
Celtix binding also support HTTP get bindings, right?
So in theory this should work, now the reality is that we've never
exercised that path so you are exploring unknown territory. From your
previous email, I understand that you ran into some errors. Can you
please give us a little more info, could you post the WSDL you used,
tell us if you tried with the Axis2 binding or the Celtix binding, and
give us more details on the error you're getting? Then we can see if
this is something that we need to fix in our code, a problem with the
underlying stack, or a setup problem... Thanks.
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: No address info in EPR error
Posted by Elizabeth Delouise <ed...@us.ibm.com>.
More specifically, my question is whether or not the tuscany runtime
supports an Http-Get binding. I was told that it does not.
--
Elizabeth DeLouise
IBM Software Group, Application and Integration Middleware Software
7G WebSphere S/390 U Z/OS Development
Tieline- 295-8863 / Phone- (845) 435-8863
edelouise@us.ibm.com
Jean-Sebastien Delfino <js...@apache.org> wrote on 06/15/2006 03:22:39
PM:
> Elizabeth Delouise wrote:
> > Does anyone have insight to a runtime error I am getting in Eclipse: "
> > Exception in thread "main" org.osoa.sca.ServiceRuntimeException:
> > org.apache.axis2.AxisFault: No address information in EPR, cannot infer
> > transport". I am trying to set up an "HTTP Get" Binding, using the
> > Helloworldws and Helloworldwsclient samples from tuscany. There may be
a
> > problem with the way my message is declared in the wsdl; I tried to
follow
> > the big bank example, my XML book's example, as well as the code
generated
> > by the Eclipse plugin for wsdl, but none seem to work. Here is my
message
> > declaration:
> >
> > <wsdl:message name="getGreetingsRequestHttpGet">
> > <wsdl:part name="getGreetings" element="tns:getGreetings">
> > </wsdl:part>
> > </wsdl:message>
> > <wsdl:message name="getGreetingsResponseHttpGet">
> > <wsdl:part name="getGreetingsReponse" element=
> > "tns:getGreetingsResponse">
> > </wsdl:part>
> > </wsdl:message>
> >
> > Specifically, the part name and element are the problem. This may have
> > nothing to do with the error I am getting, but previously I had trouble
> > declaring something in the "part" that it would accept as an SDO.
> >
> > --
> > Elizabeth DeLouise
> > IBM Software Group, Application and Integration Middleware Software
> > 7G WebSphere S/390 U Z/OS Development
> > Tieline- 295-8863 / Phone- (845) 435-8863
> > edelouise@us.ibm.com
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> >
> >
> I'm guessing a problem with the WSDL port or binding declaration, but
> it's difficult to say without the entire WSDL. Could you please create a
> JIRA issue and attach a zip with the relevant files (WSDL and SCDL files
> etc.) and describe the steps to reproduce the problem? This will help us
> investigate this. Thanks.
>
> --
> Jean-Sebastien
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: No address info in EPR error
Posted by Jean-Sebastien Delfino <js...@apache.org>.
Elizabeth Delouise wrote:
> Does anyone have insight to a runtime error I am getting in Eclipse: "
> Exception in thread "main" org.osoa.sca.ServiceRuntimeException:
> org.apache.axis2.AxisFault: No address information in EPR, cannot infer
> transport". I am trying to set up an "HTTP Get" Binding, using the
> Helloworldws and Helloworldwsclient samples from tuscany. There may be a
> problem with the way my message is declared in the wsdl; I tried to follow
> the big bank example, my XML book's example, as well as the code generated
> by the Eclipse plugin for wsdl, but none seem to work. Here is my message
> declaration:
>
> <wsdl:message name="getGreetingsRequestHttpGet">
> <wsdl:part name="getGreetings" element="tns:getGreetings">
> </wsdl:part>
> </wsdl:message>
> <wsdl:message name="getGreetingsResponseHttpGet">
> <wsdl:part name="getGreetingsReponse" element=
> "tns:getGreetingsResponse">
> </wsdl:part>
> </wsdl:message>
>
> Specifically, the part name and element are the problem. This may have
> nothing to do with the error I am getting, but previously I had trouble
> declaring something in the "part" that it would accept as an SDO.
>
> --
> Elizabeth DeLouise
> IBM Software Group, Application and Integration Middleware Software
> 7G WebSphere S/390 U Z/OS Development
> Tieline- 295-8863 / Phone- (845) 435-8863
> edelouise@us.ibm.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>
>
I'm guessing a problem with the WSDL port or binding declaration, but
it's difficult to say without the entire WSDL. Could you please create a
JIRA issue and attach a zip with the relevant files (WSDL and SCDL files
etc.) and describe the steps to reproduce the problem? This will help us
investigate this. Thanks.
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org