Error on Service message
Hi Guys,
For a newly created service message, there is an error message for it and it's saying "Organization not available".
I have alraedy checked the STP's Sales data area, and tried to re-populate the info and save again. But the error is still persist in the service message.
Could you pls comment on what else i need to check?
Thanks in advance.
Hi ,
I assume you have maintained your organizational model in tcode ppoma_crm?
Maybe you can check your customizing transaction for the org.determination profile is maintained or not. This is required to determine the serv.org and sales org.
regards,
anthony
Similar Messages
-
SAX parser errors in services-messages.log
I'm having some issues with a just installed ZCM 11.3a server. I'm getting a lot of errors:
org.jdom.JDOMException: Could not load default SAX parser: org.apache.xerces.parsers.SAXParser: SAX2 driver class org.apache.xerces.parsers.SAXParser not found: org.apache.xerces.parsers.SAXParser
in services-messages.log
I have googled for the error message but can't find anything related to ZCM. Any idea about how to fix it?jlmendez Wrote in message:
> I'm having some issues with a just installed ZCM 11.3a server. I'm
> getting a lot of errors:
>
> org.jdom.JDOMException: Could not load default SAX parser:
> org.apache.xerces.parsers.SAXParser: SAX2 driver class
> org.apache.xerces.parsers.SAXParser not found:
> org.apache.xerces.parsers.SAXParser
>
> in services-messages.log
>
> I have googled for the error message but can't find anything related to
> ZCM. Any idea about how to fix it?
Which OS did you install ZCM 11.3a on? I'm guessing Linux based.
HTH.
Simon Flood
Novell Knowledge Partner -
Error creating Service Desk Message in Satellite System
Hi all
We have two satellite system from which I want to create a Support Message. With my current profile/role and can do it from one system and not from the other system. I get "Error in local message system, message xxx not complete". I dont think it is an Authotization fault, but not sure.
How should the Number ranges be setup for more than one satellite system?
Thanx
Jaco SnymanHi Tina
This was my answer in a previuos thread:
Hi all
I also struggled with this for 2 weeks. But the problem is fixed.
Do your "normal: config from the IMG and then:
1) Make sure that you have selected for the system NOT to check for the User in SolMan
tr: DNO_CUST04, Go to Detail, Select the field NO_USER_CHECK, "X", this is very important, otherwise you will have to create a username for everyone on the satellite system... far too timeconsuming.
2) In your satellite system under OSS_MSG: Col1:Application: OSS_MSG, Col2: + : W. Col3: RFC Destination: SM_"SOLMANRFC"_BACK. Col4: + : CUST620. COl5: + : 1.0
In the Solman side you maintain Col3 as "NONE".
3) Make sure that ALL users in the satellite system has the following roles: SAP_SUPPDESK_CREATE and SAP_SV_FDB_NOTIF_BC_ADMIN.
4) Make sure that you have TRUSTED RFC to and from your Satellite system and Solution Manager.
The main one to be sure of is: SAP_ALL for all SOLMANxxx user in the Solution Manager system for every satelite system, because the standard roles from SAP does not work.
This should have your Service Desk Messaging working.
Jaco Snyman -
Service desk error creating support message "help- create support message"
Hi
I'm customizing SM 7.0 SP Stack 15 service desk scenario. I'm in a VAR SAP, so It's a mandatory scenario.
I've done all basic settings from General Settings, Connection to SAP, Online Documentation, ...,
Business Partners, iBase, Basic BC-Sets for Configuration, Number Ranges. After them , for Scenario-Specific Settings-> Service Desk->Service Provider I've done all these steps. At SAP System Solution Manager, I've created solutions at dswp transaction and EW Alert are centralized these steps works. Transaction notif_create works and iBase are well mantained.
The problem is when I try create a support message from satellite SAP system. I logged With a SAP user which is BP, key user and has authorizations in a satellite system and I choose help->create support message, so a pop-up appears and I fill the fields, and I press button (Save/Send). An error appears:
Error in Local Message System: Access via 'NULL' object reference not possible. Message was Not Created
In order solve the error I review:
- The satellite SAP system is at the iBase installed components.
- I've Assign Number Range for ABA notifications at SLF1 transaction.
- I've Checked number range for Service Desk Message at SLFN transaction.
- I've configured ABA Message transaction DNO_CUST01, transaction DNO_CUST04
- (satellite system) Transaction sm30, table BCOS_CUST:
Appl. + Dest. + +
OSS_MSG W SM_SMGCLNT010_BACK CUST620 1.0
TST_CUS 0120009939
RFC SM_SMGCLNT010_BACK works, SM recollects EW Alert from this satellite system
- (satellite system) I logged with a SAP user with these roles:
SAP_SUPPDESK_CREATE
SAP_BC_CUS_CUSTOMIZER according SAP NOTE 834534
SAP_BC_CUS_ADMIN according SAP NOTE 834534
SAP_SV_FDB_NOTIF_BC_CREATE
SAP_SV_FDB_NOTIF_BC_ADMIN
All these roles are mantained.
- I've review SAP Notes 834534, 864195, 621927(I haven't applied this SAP Note because it's older)
Please could you help me?
Thanks and Regards
RaulHi,
When I try create a SAP message via help->create suuport message, I get the same error so I run help->create support message in a satellite system so I run help->create support message in Solution Manager
system. Also, a dump is generated in Solution Manager when I try create support message or from satellite or from solution manager.
========================================================================
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED
Date and Time 10.07.2008 10:17:26
Short text
Access via 'NULL' object reference not possible.
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_BOR_SERVICE_PPF============CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component (variable: " ").
An object reference must point to an object (an instance of a class)
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.
How to correct the error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"OBJECTS_OBJREF_NOT_ASSIGNED" " "
"CL_BOR_SERVICE_PPF============CP" or "CL_BOR_SERVICE_PPF============CM004"
"PROFILE_CONTAINS_PARTNERDEP"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
Information on where terminated
Termination occurred in the ABAP program "CL_BOR_SERVICE_PPF============CP" -
in "PROFILE_CONTAINS_PARTNERDEP".
The main program was "SAPMSSY1 ".
In the source code you have the termination point in line 41
of the (Include) program "CL_BOR_SERVICE_PPF============CM004".
=========================================================================
Thanks and Regards
Raul -
Hi
I am facing one error in Service desk related to message text .
Some of the characters of message entered by the customer is getting truncated when we see the message details in the transaction data tab in the service desk. Due to this we are not getting the full description of the support message.
Is any note is available for this?
Best regards
SarangHi
Please find the reply in Bold :
What Sol Man release are you workin on?
SAP Solution Manager 4.0
What kind of characters get truncated?
General message characters (English alphabets)... is this because of length constraint?
Are you working on a unicode system?
Yes
Does this happen while creating messages from a satellite system or from within Sol Man?
When user creates messge in SAP ECC 6.0 , then the sme of the last characters of each row gets truncated.
Best regards
Sarang -
CIMC on C210 server throws Error 2001: Service not available message
I am trying to configure vmware on a brand new C210 server for the first time and the directions say to access the CIMC and load the vmware media. Sounds easy enough except every time I go to the CIMC webpage I recieve an " error 2001: Service not available" message on every page I go to and none of the server info fields are populated. If I try to make any changes and save my settings the same message pops up and no changes are saved. Almost like the CIMC doesn't recognize the server or hardware. I ran the host update utility just now and upgraded the firmware for everything to the latest version but still no progress. Anyone have this happen or know how I can fix this?
Thanks in advance!
JessI got it working on one of the servers, and havent tried the same solutions on any other server.
What i did was manually adding an IP adress to the management IP, then save the config before rebooting. After rebooting i put it back to get IP from DHCP, and saved the config. After a secound reboot i was able to use the mangement interface without the 2001 error.
I'm not sure if it will work on the rest of the servers, but it's worth a try
Regards
Alex -
No service messages and error sending SMS
I just started getting No Service messages on my iPhone and an Error sending message trying to send an Sms MSG. What's going on?
Most likely due to poor signal strength. If the iPhone does not have sufficient signal from the telco, SMS' will return error warnings.
From what these iPhone threads contain, it seems like O2 in UK, may need to look into improving their infrastructure. There appear to be many complaints concerning signal coverage. -
When I run the Ipod Updater I get the message Error in service
My 5g Ipod is not recognized and when I run the updater it shows the message Error in Service. Please help
Not sure....Have you tried resetting the iPod and trying it again. Almost sounds like the software issue, but not totally sure. If you haven't tried resetting your iPod, try that and see what you get! If you don't know how to reset your iPod just press and hold the middle button and the menu button. Your iPod will turn off, and reboot
-
Service Desk: Error in local message system: You do not have authorization
Hello experts,
i'm configuring support desk scenario. I think all is fine, but, when i try to create a message from satellite (R3 46C) to my SOLMAN the following error appears:
Error in local message system: You do not have authorization to create a notifica Message was not created. (Message no. B~ 088)
The user i use to create the message has the following roles:
SAP_SV_FDB_SUPPORT_LINE_ADMIN
SAP_SV_FDB_SUPPORT_LINE_LEVEL1
SAP_SV_FDB_SUPPORT_LINE_LEVEL2
Z_RFC
and SAP_ALL SAP_NEW profiles.
Anyone knows where is the problem?
Regards
Carlos CalleHi Carlos,
Role that allows processing messages is SAP_SUPPDESK_PROCESS. However from what I have understand, once End User enters and submits the message, he/she cannot edit the message anymore. Probably an email will be generated to him/her to notified of the message creation and for futher updates. I think end user should not be required to logon to Solution Manager. Key User i.e. helpdesk or SAP support staff will process(edit/change) the message instead.
If you want something else, I think you need to create a customise role maybe from SAP_SUPPDESK_DISPLAY or PROCESS and change the authorization values.
The below note contains latest authorization info.
Note 834534 - SAP Solution Manager roles in Release 4.0
Experts,
Correct me if I am wrong.
Regards,
Annie -
Error publishing service in Service Registry
Hi experts.
I've configured Service Registry in a SAP PI 7.11. Everything seems to work correctly but I can't publish services there. When I try to publish from Directory or directly in Service Registry by wsdl I'm getting this error:
com.sap.aii.ib.core.uddi.RegistryClientException: Services registry is not available; for more information, see the log
at com.sap.aii.ib.server.uddi.RegistryClientDelegateProvider$EjbRegistryClient.publishPhysicalSystems(RegistryClientDelegateProvider.java:440)
at com.sap.aii.ibdir.server.wsquery.WSQUDDIPSPublishTB.execute(WSQUDDIPSPublishTB.java:91)
at com.sap.aii.ibdir.core.simulation.DefaultTaskBroker.execute(DefaultTaskBroker.java:171)
at com.sap.aii.ibdir.server.simulation.TaskQueryService.specialQuery(TaskQueryService.java:33)
at com.sap.aii.ib.server.query.SpecialQueryServiceProvider$SpecialQueryServiceImpl.specialQuery(SpecialQueryServiceProvider.java:63)
at com.sap.aii.ib.server.query.QueryServiceImpl.specialQuery(QueryServiceImpl.java:443)
at com.sap.aii.ib.server.query.QueryServiceBean.specialQuery(QueryServiceBean.java:112)
at sun.reflect.GeneratedMethodAccessor762.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
at $Proxy1646.specialQuery(Unknown Source)
at sun.reflect.GeneratedMethodAccessor761.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:234)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:362)
at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:69)
at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:67)
at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:41)
at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:977)
at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:57)
at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:55)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:327)
I think is a authorization problem but I have role to read and write in service registry. I can see this error in Service Registry Trace
Invalid Response code (401). Server [http://xxxxxx:50000/uddi/api/publish/] returned message [Unauthorized].
Any idea? Maybe the user you have to fill in Service Registry Configuration Wizard?
Regards
Edited by: Christian Abad Chico on Feb 20, 2012 1:00 PMHi,
It looks like you are missing some Services Registry preconfiguration. Please find a description how to configure the Services Registry under the SAP Help document below:
http://help.sap.com/saphelp_nwce711/helpdata/en/47/d391d7b8fc3c83e10000000a42189c/frameset.htm
There is also a wizard that you can use for this purpose:
http://help.sap.com/saphelp_nwce711/helpdata/en/f7/6182bd68434595ba5105a0a346efcc/frameset.htm
Hope this helps,
Greg -
Error on KEB0 execution ?
Iu2019m trying to create a data source on KEB0, but when I try to create, the system give this error:
u201CProgram error: BI service API (component BC-BW) terminated: MAPI
Message no. R8401u201D
Some one knows this message ?
Thanks !Marcus, have you checked following Note?
504847 - Termination when creating a CO-PA DataSource -
Hello,
I ran a new install of Team Foundation Server and let it install the built in SharePoint pieces on a single server setup. After the install i'm able to access the
http://teamfoundation:8080/tfs/ address without issue but am unable to create a project. When I attempt to create a project I get the following error:
TF30172: You do not have permission to create a new team project (when checking security i'm a member of the project collection administrators and Team Foundation Administrators)
This led me to look at the sharepoint central administration site where I receive the following error:
Error 503 Service Unavailable
I've gone through and validated the identity is set correctly in IIS for the following services:
SharePoint Central Admin v4
SharePoint15AppPool
The SharePoint Web Services Root is set as LocalService instead of the domain user.
The identity domain user is setup as local administrator on the Team Foundation Server. They are all set to use .net v4.0.30319 with integrated Pipeline mode.
Any help would be great!
Thanks!
EricHi Eric,
Thanks for your post.
Please share your detailed team project creation log here.
In your TFS Admin Console>>Extensions for SharePoint Products tab, ensure SharePoint Web Application shows correctly in the right panel. And go to TFS Admin Console>>Application Tier>>SharePoint Web Applications tab, ensure your SharePoint
web application displays in the right panel, then select your SharePoint web application and click Repair Connection, ensure can repair successfully.
In your IIS Manager, select your SharePoint Central Administration V4 site and click Browser:17012(http) in the right panel, check if your SharePoint Central site can be opened successfully or not. If your SharePoint Central site cannot be accessed, I think
this issue relate to your SharePoint site, you should contact SharePoint experts to resolve this issue first. After you resolved this issue and your SharePoint Central Admin site can be accessed correctly, then try to create your team project(within SharePoint
site) again, if there still has issue when creating team project, please share the detailed error message here, we will try to resolve it.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Error 1920-Service 'Apple Mobile Device' failed to start.
Hi,
When ever I try to install the Apple Mobile Device Support this message shows up "Error 1920-Service 'Apple Mobile Device' failed to start. Verify that you have sufficient privileges to start system services". I have uninstalled itunes multiple times. I have tried only installing the Apple Moblie Devuce Support by doing the extract file from WinRaff. Nothing has worked. Could you please help me? I'm getting relly frusturated with this whole thing. All I want to do is download songs on to my i-pod.
Thank You,
Aleida H.I guess the short answer is don't try to pass MSI properties to the installer.
I don't think this is anything your fellow users can help with, but you might want to file a report at Bug Reporter.
tt2 -
Can't get firefox sync to work. I keep getting 'Error While Syncing' message
I am on Mac OS X 10.6.4, Snow Leopard on a Mini Mac a year old.
I got a message from X Marks telling me they were shutting down.
As I use my bookmarks every day and have thousands of them all sorted into folders I definitely never want to lose them or lose access to them if my house burns down or my computer is stolen!
I was using Firefox 3.6 and followed X Marks advise and downloaded Firefox Sync...but...won't work....kept giving me the 'Error While Syncing' message after trying to sync for a while. I looked at the blog and tried a few things like resetting password, restarting computer, checking my setting etc., but no deal. So, as the Firefox Sync download page told me that if I was using Firefox 4 beta the feature was built in and I didn't need the download, I then downloaded Firefox 4....which has removed my X Marks option, which was at least viable till after Xmas! and I still have the 'Error While Syncing' message beside the Sync button on my status bar....so now I am completely at a loss. The only thing I can do if I can't fix it up is go back to 3.6 and go on using X Marks while it is still available and pray that you get this sorted out before they dissappear.
I also like to be able to get my updated bookmarks on the other browsers I use, like Chrome and IE, so I would really appreciate it if you would include this cross browser sync capability as soon as you can. I have pledged X Marks that I would even pay for their service to continue as it seems they are so ahead of anyone else in their service and it is a large pain in the you know where that they can't keep going.
Thanks. and I hope you can help. From the blogs it seems that I am not the only one having this problem of getting the Firefox Sync working@globaltruth
Thank you for your suggestion. I tried it. Unfortunately, the error message still sits on my statusbar, right after the Firefox Sync image. -
Im reading a file from a service and transforming the data and writing them into a file through the external reference using a Mediator component.
I have no problem while building or deploying.
But while executing I get an error as follows:
Non Recoverable System Fault :
Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'WriteAppointmentRequestInLogFile' failed due to: Translation Error. Translation Error. Error while translating message to native format. Please make sure that the payload for the outbound interaction conforms to the schema. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
My input is a File Adpater Read operation and output is File Adapter Write operation.
The schemas are as below:
Input schema:
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
xmlns:tns="http://stmatthews.hospital.com/ReadFileDoctorsAppointmentRequest"
targetNamespace="http://stmatthews.hospital.com/ReadFileDoctorsAppointmentRequest"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
nxsd:version="NXSD"
nxsd:stream="chars"
nxsd:encoding="US-ASCII"
<xsd:element name="doctorAppointmentRequestRoot"><xsd:complexType>
<xsd:sequence>
<xsd:element name="doctorAppointmentRequest" minOccurs="1" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="C1" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C2" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C3" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C4" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C5" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C6" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C7" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C8" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C9" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C10" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C11" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C12" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C13" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C14" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C15" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy=""" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
Output Schema:
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
xmlns:tns="http://stmatthews.hospital.com/LogDoctorAppointmentRequests"
targetNamespace="http://stmatthews.hospital.com/LogDoctorAppointmentRequests"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
nxsd:version="NXSD"
nxsd:stream="chars"
nxsd:encoding="US-ASCII"
<xsd:element name="AppointmentRequestsLog"><xsd:complexType>
<xsd:sequence>
<xsd:element name="AppointmentRequest" minOccurs="1" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="C1" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C2" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C3" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C4" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C5" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C6" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C7" type="xsd:int" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C8" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy=""" />
<xsd:element name="C9" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy=""" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<!--NXSDWIZ:C:\SOAHandbook\DoctorsAppointmentRequestProcessor\DoctorAppointmentRequestProcessor\samples\Logged_DoctorsAppointmentRequestFile.txt:-->
<!--USE-HEADER:false:-->
Transformation XSL used in Mediator:
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0"
xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/file/DoctorsAppointmentRequestProcessor/DoctorAppointmentRequestProcessor/ReadFileDoctorsAppointmentRequest"
xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:pc="http://xmlns.oracle.com/pcbpel/"
xmlns:bpm="http://xmlns.oracle.com/bpmn20/extensions"
xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"
xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"
xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
xmlns:imp1="http://stmatthews.hospital.com/ReadFileDoctorsAppointmentRequest"
xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
xmlns:med="http://schemas.oracle.com/mediator/xpath"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
xmlns:ns1="http://stmatthews.hospital.com/LogDoctorAppointmentRequests"
xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:bpmn="http://schemas.oracle.com/bpm/xpath"
xmlns:ns0="http://xmlns.oracle.com/pcbpel/adapter/file/DoctorsAppointmentRequestProcessor/DoctorAppointmentRequestProcessor/LogDoctorAppointmentRequests"
xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
exclude-result-prefixes="xsi xsl tns pc plt wsdl imp1 jca xsd ns1 ns0 xp20 bpws bpel bpm ora socket mhdr oraext dvm hwf med ids xdk xref bpmn ldap">
<xsl:template match="/">
<ns1:AppointmentRequestsLog>
<ns1:AppointmentRequest>
<ns1:C1>
<xsl:value-of select="xp20:current-date()"/>
</ns1:C1>
<ns1:C2>
<xsl:value-of select='substring-before("doctor1234_20120926_helloworld","_")'/>
</ns1:C2>
<ns1:C4>
<xsl:value-of select="concat(/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C2,/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C3)"/>
</ns1:C4>
<ns1:C5>
<xsl:value-of select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C4"/>
</ns1:C5>
<ns1:C6>
<xsl:value-of select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C5"/>
</ns1:C6>
<ns1:C7>
<xsl:value-of select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C12"/>
</ns1:C7>
<ns1:C8>
<xsl:value-of select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C14"/>
</ns1:C8>
<ns1:C9>
<xsl:value-of select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C15"/>
</ns1:C9>
</ns1:AppointmentRequest>
</ns1:AppointmentRequestsLog>
</xsl:template>
</xsl:stylesheet>
Just in case if you are aware, Im trying the example in Lucas Jellema's book Chapter 7 and Im getting the error there in the first example project.
I have seen few very old threads on this problem in the forum but none of them had any answers so opening up a new one.
Thanks.Your transformation with for-each look is incorrect.
This is what you have right now:
<ns1:AppointmentRequestsLog>
<xsl:for-each select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest">
<ns1:AppointmentRequest>
<ns1:C1>
<xsl:value-of select="xp20:current-date()"/>
</ns1:C1>
<ns1:C2>
<xsl:value-of select='substring-before("doctor1234_20120926_helloworld","_")'/>
</ns1:C2>
<ns1:C3>
<xsl:value-of select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest/imp1:C2"/>
</ns1:C3>This is the correct way to write for-each within XSLT:
<ns1:AppointmentRequestsLog>
<xsl:for-each select="/imp1:doctorAppointmentRequestRoot/imp1:doctorAppointmentRequest">
<ns1:AppointmentRequest>
<ns1:C1>
<xsl:value-of select="xp20:current-date()"/>
</ns1:C1>
<ns1:C2>
<xsl:value-of select='substring-before("doctor1234_20120926_helloworld","_")'/>
</ns1:C2>
<ns1:C3>
<xsl:value-of select="imp1:C2"/>
</ns1:C3>Also, check the flow trace in the EM console for the instance which errored out and paste here the data which is being sent to the FileWrite Adapter. Also, you need to ensure that any elements which are defined as xs:int should not have empty string as values. For example in your write schema C3 has int. So you should map C3 in XSLT like following:
<xsl:choose>
<xsl:when test="imp1:C2 and string-length(imp1:C2) > 0">
<ns1:C3>
<xsl:value-of select="imp1:C2"/>
</ns1:C3>
</xsl:when>
<xsl:otherwise>
<ns1:C3>0</ns1:C3>
</xsl:otherwise>
</xsl:choose>
Maybe you are looking for
-
Select from table in group of columns and generate a sequence number
I have to select data from a table in group of columns and generate a sequence for every group resetting the sequence to start from 1 onwards. For example: Data: Col1 Col2 Col3 Col4 A NA KA 2009-08-13 B NA KA 2009-08-13 C NA KA 2009-08-13 A NA KA 200
-
\my ipod shuffle downloaded a few songs, but now says that it's locked and cannot be written to. Any suggestions?
-
Modified and Originals folders in iPhoto
As I understand it, once a picture is in iphoto, if it has to be rotated, which iPhoto does automatically, the rotated picture is stored in the Modified folder. The 'unrotated' picture is in the Originals folder. How do I go about erasing all the one
-
What am i doing wrong ? wireless config issue
im at a loss, i have setup a 1131 with multiple ssid's, they show up, but neither one will connect. i need 2 ssid's, one open and one protected. this is the config i have so far: version 12.3 no service pad service timestamps debug datetime msec ser
-
i play cityville on Facebook and lately i am getting a lot of messages saying either that "cityville has been enhanced" please click okay or "saving your city" then it tells me that they are having difficulties connecting to the server and that the a