GoogleCheckout - Simple method file not found error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

GoogleCheckout - Simple method file not found error

Ritesh Trivedi
Hi,

I am trying to integrate GoogleCheckout and am getting the following error (see below). I have added googleCheckout entry in the component-load.xml and in debug mode I do see all the xmls (ofbiz-component.xml etc.) getting loaded.

Error seems to indicate that its not finding the PrepareXMLTemplate.xml file - which is in the ofbiz-component classpath dir (script). Not sure why?

equest'
2008-07-30 13:56:29,069 (http-8443-1) [  ServiceDispatcher.java:500:ERROR]
---- exception report ----------------------------------------------------------

Service [transmitRequest] threw an unexpected exception/error
Exception: org.ofbiz.service.GenericServiceException
Message: Error running simple method [transmitRequest] in XML file [org/ofbiz/go
ogleCheckout/PrepareXMLTemplate.xml]:  (Could not find SimpleMethod XML document
 in resource: org/ofbiz/googleCheckout/PrepareXMLTemplate.xml)
---- stack trace ---------------------------------------------------------------

org.ofbiz.service.GenericServiceException: Error running simple method [transmit
Request] in XML file [org/ofbiz/googleCheckout/PrepareXMLTemplate.xml]:  (Could
not find SimpleMethod XML document in resource: org/ofbiz/googleCheckout/Prepare
XMLTemplate.xml)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:7
8)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
Reply | Threaded
Open this post in threaded view
|

RE: GoogleCheckout - Simple method file not found error

rhodebump
What is the full path to where you extracted the googleCheckout application?

Did you get the latest patch?  There are several, I used this last week, and it worked.
http://issues.apache.org/jira/secure/attachment/12350616/googCheckout.patch

-----Original Message-----
From: "Ritesh Trivedi" <[hidden email]>
Sent: Wednesday, July 30, 2008 5:04pm
To: [hidden email]
Subject: GoogleCheckout - Simple method file not found error


Hi,

I am trying to integrate GoogleCheckout and am getting the following error
(see below). I have added googleCheckout entry in the component-load.xml and
in debug mode I do see all the xmls (ofbiz-component.xml etc.) getting
loaded.

Error seems to indicate that its not finding the PrepareXMLTemplate.xml file
- which is in the ofbiz-component classpath dir (script). Not sure why?

equest'
2008-07-30 13:56:29,069 (http-8443-1) [  ServiceDispatcher.java:500:ERROR]
---- exception report
----------------------------------------------------------

Service [transmitRequest] threw an unexpected exception/error
Exception: org.ofbiz.service.GenericServiceException
Message: Error running simple method [transmitRequest] in XML file
[org/ofbiz/go
ogleCheckout/PrepareXMLTemplate.xml]:  (Could not find SimpleMethod XML
document
 in resource: org/ofbiz/googleCheckout/PrepareXMLTemplate.xml)
---- stack trace
---------------------------------------------------------------

org.ofbiz.service.GenericServiceException: Error running simple method
[transmit
Request] in XML file [org/ofbiz/googleCheckout/PrepareXMLTemplate.xml]:
(Could
not find SimpleMethod XML document in resource:
org/ofbiz/googleCheckout/Prepare
XMLTemplate.xml)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:7
8)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
--
View this message in context: http://www.nabble.com/GoogleCheckout---Simple-method-file-not-found-error-tp18742842p18742842.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Reply | Threaded
Open this post in threaded view
|

RE: GoogleCheckout - Simple method file not found error

Ritesh Trivedi
Thanks for the response. I am actually using the latest from SVN (which I think includes the patch).

The problem seems to be in how I call the service. Seems like the classloader might be different. Will have to post another message to the group.

rhodebump wrote
What is the full path to where you extracted the googleCheckout application?

Did you get the latest patch?  There are several, I used this last week, and it worked.
http://issues.apache.org/jira/secure/attachment/12350616/googCheckout.patch

-----Original Message-----
From: "Ritesh Trivedi" <ritesh.trivedi@gmail.com>
Sent: Wednesday, July 30, 2008 5:04pm
To: user@ofbiz.apache.org
Subject: GoogleCheckout - Simple method file not found error


Hi,

I am trying to integrate GoogleCheckout and am getting the following error
(see below). I have added googleCheckout entry in the component-load.xml and
in debug mode I do see all the xmls (ofbiz-component.xml etc.) getting
loaded.

Error seems to indicate that its not finding the PrepareXMLTemplate.xml file
- which is in the ofbiz-component classpath dir (script). Not sure why?

equest'
2008-07-30 13:56:29,069 (http-8443-1) [  ServiceDispatcher.java:500:ERROR]
---- exception report
----------------------------------------------------------

Service [transmitRequest] threw an unexpected exception/error
Exception: org.ofbiz.service.GenericServiceException
Message: Error running simple method [transmitRequest] in XML file
[org/ofbiz/go
ogleCheckout/PrepareXMLTemplate.xml]:  (Could not find SimpleMethod XML
document
 in resource: org/ofbiz/googleCheckout/PrepareXMLTemplate.xml)
---- stack trace
---------------------------------------------------------------

org.ofbiz.service.GenericServiceException: Error running simple method
[transmit
Request] in XML file [org/ofbiz/googleCheckout/PrepareXMLTemplate.xml]:
(Could
not find SimpleMethod XML document in resource:
org/ofbiz/googleCheckout/Prepare
XMLTemplate.xml)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:7
8)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
--
View this message in context: http://www.nabble.com/GoogleCheckout---Simple-method-file-not-found-error-tp18742842p18742842.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Reply | Threaded
Open this post in threaded view
|

Re: GoogleCheckout - Simple method file not found error

BJ Freeman
Don't confuse web-services with ofbiz service engine.
http://ofbiz.apache.org/docs/services.html#Usage

Ritesh Trivedi sent the following on 7/30/2008 3:38 PM:

> Thanks for the response. I am actually using the latest from SVN (which I
> think includes the patch).
>
> The problem seems to be in how I call the service. Seems like the
> classloader might be different. Will have to post another message to the
> group.
>
>
> rhodebump wrote:
>> What is the full path to where you extracted the googleCheckout
>> application?
>>
>> Did you get the latest patch?  There are several, I used this last week,
>> and it worked.
>> http://issues.apache.org/jira/secure/attachment/12350616/googCheckout.patch
>>
>> -----Original Message-----
>> From: "Ritesh Trivedi" <[hidden email]>
>> Sent: Wednesday, July 30, 2008 5:04pm
>> To: [hidden email]
>> Subject: GoogleCheckout - Simple method file not found error
>>
>>
>> Hi,
>>
>> I am trying to integrate GoogleCheckout and am getting the following error
>> (see below). I have added googleCheckout entry in the component-load.xml
>> and
>> in debug mode I do see all the xmls (ofbiz-component.xml etc.) getting
>> loaded.
>>
>> Error seems to indicate that its not finding the PrepareXMLTemplate.xml
>> file
>> - which is in the ofbiz-component classpath dir (script). Not sure why?
>>
>> equest'
>> 2008-07-30 13:56:29,069 (http-8443-1) [  ServiceDispatcher.java:500:ERROR]
>> ---- exception report
>> ----------------------------------------------------------
>>
>> Service [transmitRequest] threw an unexpected exception/error
>> Exception: org.ofbiz.service.GenericServiceException
>> Message: Error running simple method [transmitRequest] in XML file
>> [org/ofbiz/go
>> ogleCheckout/PrepareXMLTemplate.xml]:  (Could not find SimpleMethod XML
>> document
>>  in resource: org/ofbiz/googleCheckout/PrepareXMLTemplate.xml)
>> ---- stack trace
>> ---------------------------------------------------------------
>>
>> org.ofbiz.service.GenericServiceException: Error running simple method
>> [transmit
>> Request] in XML file [org/ofbiz/googleCheckout/PrepareXMLTemplate.xml]:
>> (Could
>> not find SimpleMethod XML document in resource:
>> org/ofbiz/googleCheckout/Prepare
>> XMLTemplate.xml)
>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:7
>> 8)
>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51)
>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
>> --
>> View this message in context:
>> http://www.nabble.com/GoogleCheckout---Simple-method-file-not-found-error-tp18742842p18742842.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

RE: GoogleCheckout - Simple method file not found error

Ritesh Trivedi
In reply to this post by rhodebump
>What is the full path to where you extracted the googleCheckout application?

I didnt have to "extract" anything - the latest SVN had googleCheckout directory under specialpurpose. All I did was to install certificates, set googlecheckout.properties file with correct values and am calling transmitRequest service using dispatcher.runSync() and am getting errors about PrepareXMLTemplate.xml not found. Strange thing is similar call from WebTools is able to run the service.

rhodebump wrote
What is the full path to where you extracted the googleCheckout application?

Did you get the latest patch?  There are several, I used this last week, and it worked.
http://issues.apache.org/jira/secure/attachment/12350616/googCheckout.patch

-----Original Message-----
From: "Ritesh Trivedi" <ritesh.trivedi@gmail.com>
Sent: Wednesday, July 30, 2008 5:04pm
To: user@ofbiz.apache.org
Subject: GoogleCheckout - Simple method file not found error


Hi,

I am trying to integrate GoogleCheckout and am getting the following error
(see below). I have added googleCheckout entry in the component-load.xml and
in debug mode I do see all the xmls (ofbiz-component.xml etc.) getting
loaded.

Error seems to indicate that its not finding the PrepareXMLTemplate.xml file
- which is in the ofbiz-component classpath dir (script). Not sure why?

equest'
2008-07-30 13:56:29,069 (http-8443-1) [  ServiceDispatcher.java:500:ERROR]
---- exception report
----------------------------------------------------------

Service [transmitRequest] threw an unexpected exception/error
Exception: org.ofbiz.service.GenericServiceException
Message: Error running simple method [transmitRequest] in XML file
[org/ofbiz/go
ogleCheckout/PrepareXMLTemplate.xml]:  (Could not find SimpleMethod XML
document
 in resource: org/ofbiz/googleCheckout/PrepareXMLTemplate.xml)
---- stack trace
---------------------------------------------------------------

org.ofbiz.service.GenericServiceException: Error running simple method
[transmit
Request] in XML file [org/ofbiz/googleCheckout/PrepareXMLTemplate.xml]:
(Could
not find SimpleMethod XML document in resource:
org/ofbiz/googleCheckout/Prepare
XMLTemplate.xml)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:7
8)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
--
View this message in context: http://www.nabble.com/GoogleCheckout---Simple-method-file-not-found-error-tp18742842p18742842.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Reply | Threaded
Open this post in threaded view
|

RE: GoogleCheckout - Simple method file not found error

Ritesh Trivedi
In reply to this post by Ritesh Trivedi
Can someone please try to call transmitRequest service directly using localdispatcher?

It will help confirm that its not my environment specific.


Ritesh Trivedi wrote
Thanks for the response. I am actually using the latest from SVN (which I think includes the patch).

The problem seems to be in how I call the service. Seems like the classloader might be different. Will have to post another message to the group.

rhodebump wrote
What is the full path to where you extracted the googleCheckout application?

Did you get the latest patch?  There are several, I used this last week, and it worked.
http://issues.apache.org/jira/secure/attachment/12350616/googCheckout.patch

-----Original Message-----
From: "Ritesh Trivedi" <ritesh.trivedi@gmail.com>
Sent: Wednesday, July 30, 2008 5:04pm
To: user@ofbiz.apache.org
Subject: GoogleCheckout - Simple method file not found error


Hi,

I am trying to integrate GoogleCheckout and am getting the following error
(see below). I have added googleCheckout entry in the component-load.xml and
in debug mode I do see all the xmls (ofbiz-component.xml etc.) getting
loaded.

Error seems to indicate that its not finding the PrepareXMLTemplate.xml file
- which is in the ofbiz-component classpath dir (script). Not sure why?

equest'
2008-07-30 13:56:29,069 (http-8443-1) [  ServiceDispatcher.java:500:ERROR]
---- exception report
----------------------------------------------------------

Service [transmitRequest] threw an unexpected exception/error
Exception: org.ofbiz.service.GenericServiceException
Message: Error running simple method [transmitRequest] in XML file
[org/ofbiz/go
ogleCheckout/PrepareXMLTemplate.xml]:  (Could not find SimpleMethod XML
document
 in resource: org/ofbiz/googleCheckout/PrepareXMLTemplate.xml)
---- stack trace
---------------------------------------------------------------

org.ofbiz.service.GenericServiceException: Error running simple method
[transmit
Request] in XML file [org/ofbiz/googleCheckout/PrepareXMLTemplate.xml]:
(Could
not find SimpleMethod XML document in resource:
org/ofbiz/googleCheckout/Prepare
XMLTemplate.xml)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:7
8)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
--
View this message in context: http://www.nabble.com/GoogleCheckout---Simple-method-file-not-found-error-tp18742842p18742842.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Reply | Threaded
Open this post in threaded view
|

RE: GoogleCheckout - Simple method file not found error

cjhowe
The google checkout special purpose component is not loaded OOTB

/specialpurpose/component-load.xml-------




<component-loader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/component-loader.xsd">
    <load-component component-location="pos"/>
    <load-component component-location="hhfacility"/>
    <load-component component-location="assetmaint"/>
    <load-component component-location="cmssite"/>
    <load-component component-location="projectmgr"/>
    <load-component component-location="oagis"/>
    <load-component component-location="googlebase"/>
    <load-component component-location="ebay"/>
    <load-component component-location="mypage"/>
    <!-- <load-component component-location="workflow"/> -->
    <!-- <load-component component-location="shark"/> -->
</component-loader>


-------------------

you need to add:


    <load-component component-location="googleCheckout"/>
to this file


 

Ritesh Trivedi <[hidden email]> wrote:
Can someone please try to call transmitRequest service directly using
localdispatcher?

It will help confirm that its not my environment specific.



Ritesh Trivedi wrote:

>
> Thanks for the response. I am actually using the latest from SVN (which I
> think includes the patch).
>
> The problem seems to be in how I call the service. Seems like the
> classloader might be different. Will have to post another message to the
> group.
>
>
> rhodebump wrote:
>>
>> What is the full path to where you extracted the googleCheckout
>> application?
>>
>> Did you get the latest patch?  There are several, I used this last week,
>> and it worked.
>> http://issues.apache.org/jira/secure/attachment/12350616/googCheckout.patch
>>
>> -----Original Message-----
>> From: "Ritesh Trivedi"
>> Sent: Wednesday, July 30, 2008 5:04pm
>> To: [hidden email]
>> Subject: GoogleCheckout - Simple method file not found error
>>
>>
>> Hi,
>>
>> I am trying to integrate GoogleCheckout and am getting the following
>> error
>> (see below). I have added googleCheckout entry in the component-load.xml
>> and
>> in debug mode I do see all the xmls (ofbiz-component.xml etc.) getting
>> loaded.
>>
>> Error seems to indicate that its not finding the PrepareXMLTemplate.xml
>> file
>> - which is in the ofbiz-component classpath dir (script). Not sure why?
>>
>> equest'
>> 2008-07-30 13:56:29,069 (http-8443-1) [
>> ServiceDispatcher.java:500:ERROR]
>> ---- exception report
>> ----------------------------------------------------------
>>
>> Service [transmitRequest] threw an unexpected exception/error
>> Exception: org.ofbiz.service.GenericServiceException
>> Message: Error running simple method [transmitRequest] in XML file
>> [org/ofbiz/go
>> ogleCheckout/PrepareXMLTemplate.xml]:  (Could not find SimpleMethod XML
>> document
>>  in resource: org/ofbiz/googleCheckout/PrepareXMLTemplate.xml)
>> ---- stack trace
>> ---------------------------------------------------------------
>>
>> org.ofbiz.service.GenericServiceException: Error running simple method
>> [transmit
>> Request] in XML file [org/ofbiz/googleCheckout/PrepareXMLTemplate.xml]:
>> (Could
>> not find SimpleMethod XML document in resource:
>> org/ofbiz/googleCheckout/Prepare
>> XMLTemplate.xml)
>> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:7
>> 8)
>> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:51)
>> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:384)
>> --
>> View this message in context:
>> http://www.nabble.com/GoogleCheckout---Simple-method-file-not-found-error-tp18742842p18742842.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
>>
>>
>>
>
>

--
View this message in context: http://www.nabble.com/GoogleCheckout---Simple-method-file-not-found-error-tp18742842p18762389.html
Sent from the OFBiz - User mailing list archive at Nabble.com.