Users - service must match

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

Users - service must match

cjhowe
You modified
d:/ofbiz/components/content/servicedef/services.xml
around line 27.  It needs to conform to:

<service> - required
  <description/> zero or one occurance
  <namespace/> zero or one occurance
  <required-permissions> - zero or more occurance
  <implements/> - zero or more occurance
  <auto-attributes/> - zero or more occurance
  <attribute/> - zero or more occurance
  <override/> - zero or more occurance
</service>

So basically, the only thing that would throw an error
is if description or namespace occurs more than once.
If you declared elements that are not in that list,
you would get an additional error about "element
'yourelement' must be declared"



===========Purani wrote:

Thanks Chris Howe for the reply.
But we are trying to  migrate the old version to the
new version.
Can u please tell me how to overcome this error.

Purani


On Tue, 28 Feb 2006 Chris Howe wrote :
>Purani,
>
>You haven't gotten very far in setting up OFBiz.  For
>your own sake please use a recent version!  The error
>is saying that
>d:/ofbiz/components/content/servicedef/services.xml
>has a service declaration that does not conform to
the

>dtd.
>
>I'm guessing by the line position (27) that you tried
>creating a custom service right before the sendMail
>service.
>
>
>
>=============Purani wrote:
>
>
>  Hi,
>can someone help in finding this error when we tried
>to run ofbiz.
>file:/D:/ofbiz/components/content/servicedef/services.xml
>15859[            UtilXml.java:463:ERROR]
>XmlFileLoader: File null process error. Line: 27.
>Error message: The content of element type "service"
>must match
>"(description?,namespace?,required-permissions*,implements*,auto-attributes*,attribute*,override*)".
>15891[ ModelServiceReader.java:238:INFO ] Loaded 62
>Service definitions from
>file:/D:/ofbiz/components/party/servicedef/services.xml
>15906[ ModelServiceReader.java:238:INFO ] Loaded 14
>Service definitions from
>file:/D:/ofbiz/components/securityext/servicedef/services.xml
>15953[ ModelServiceReader.java:238:INFO ] Loaded 28
>Service definitions from
>file:/D:/ofbiz/components/entityext/servicedef/services.xml
>15984[ ModelServiceReader.java:238:INFO ] Loaded 24
>Service definitions from
>file:/D:/ofbiz/components/workeffort/servicedef/services.xml
>16016[ ModelServiceReader.java:238:INFO ] Loaded 2
>Service definitions from
>file:/D:/ofbiz/components/workeffort/servicedef/services_project.xml
>16031[ ModelServiceReader.java:238:INFO ] Loaded 19
>Service definitions from
>file:/D:/ofbiz/components/workflow/servicedef/services.xml
>
>
>Purani
>
>_______________________________________________
>Users mailing list
>Users at lists.ofbiz.org
>http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users