Proxy object creation failed in jax-ws
Hi
I try to implement a dynamic client via proxy (this time not dispatch) I made all client artifacts dynamically in code via WSIMPORT and add result classes folder to my CLASSPATH but when it try to create Proxy object it failed, and argued about one of my service method couldn't be found.
here is my code:
public void callSynchWSIMPORT(String wsdlPlace,String tNS,String serviceNam) throws Exception{
URL wsdlLocation = new URL(wsdlPlace);
QName serviceName = new QName(tNS,serviceNam); //http://localhost:8080/TestENDP/TestENDPService?WSDL;
QName portName = new QName(tNS);
System.out.println("1- This parameters are specified:"+
" serviceName: "+serviceName+
" portName: "+portName );
runOScmd(); // Call WSIMPORT on OS level
System.out.println("2-Client artifacts created");
Service myService = Service.create(wsdlLocation,serviceName); // Creating services from qualified name
Iterator<QName> itPort = myService.getPorts(); // Iterate trough the ports
while (itPort.hasNext()) { // For each port in WSDL
QName port = itPort.next();
Object proxy = myService.getPort(port,service4Test.TestENDP.class);
javax.xml.ws.BindingProvider bp =(javax.xml.ws.BindingProvider)proxy;
Map<String,Object> context= bp.getRequestContext();
context.put("javax.xml.ws.session.maintain", Boolean.TRUE);
System.out.println("From Web Service add method called with 10,10:"+ proxy.getClass());
}my web service is simple (service4Test.TestENDP) .It add and minus two number.
I get this error:
Exception in thread "main" class: service4Test.jaxws.Add could not be found
at com.sun.xml.ws.modeler.RuntimeModeler.getClass(RuntimeModeler.java:269)
at com.sun.xml.ws.modeler.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:558)
at com.sun.xml.ws.modeler.RuntimeModeler.processMethod(RuntimeModeler.java:505)
at com.sun.xml.ws.modeler.RuntimeModeler.processClass(RuntimeModeler.java:353)
at com.sun.xml.ws.modeler.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:249)
at com.sun.xml.ws.client.ServiceContextBuilder.processAnnotations(ServiceContextBuilder.java:117)
at com.sun.xml.ws.client.ServiceContextBuilder.completeServiceContext(ServiceContextBuilder.java:85)
at com.sun.xml.ws.client.WSServiceDelegate.processServiceContext(WSServiceDelegate.java:114)
at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:266)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:152)
at javax.xml.ws.Service.getPort(Service.java:94)
at client.ExecuteViaProxy.callSynchWSIMPORT(ExecuteViaProxy.java:39)
client.ExecuteViaProxy.callSynchWSIMPORT(ExecuteViaProxy.java:39) is this line :
Object proxy = myService.getPort(port,service4Test.TestENDP.class);
Hi RezaRavasizadeh,
It seems I got the same problem when my web service (calling another one) is called by a BPEL process... It works perfectly when I call it from a web application but when it is invoked by the BPEL process, it looks like it loses the context and can't retreive the class by the RuntimeModeler.
Did you find any solution ?
Best regards
@++
Similar Messages
-
Oracle 8i Lite: Command Object Creation Failed
Hi Everyone,
I use Windows XP everything works except navigator and I get the message that Command Object Creation Failed
Does Anyone know how to fix this and I have to use 8i Lite as it for a school database project
Thanks in advance for everyone's help
J SHi. I know this response is too many years late, but I'm putting it in case someone (like me a few days ago) needs to connect to a legacy server using legacy tools:
This error is caused by the installer, sometimes it does not adequately register the OLE/COM objects provided in nav8cmd.dll
So, to correct it:
- open a command window
- change to the directory where the navigator program files reside (In my case c:\orant\bin)
- type the following command: regsvr32 nav8cmd.dll
You should receive a message that the DLL was correctly registered. After that you can use the navigator without problems.
Cheers. -
Proxy object creation error - Message no. SPRX137
We were trying to create a proxy object and we come to the screen where you enter the wsdl URL. But the results we get is:
Error when creating HTTP client: URL: Error:Connection Parameters (Host or Service) Not Availa
Message no. SPRX137
We are unable to create this. Anyone have any ideas?
SteveHi,
Thanks but you have not mentioned here how can resloved. Also not mentioned this question is answered.
Please mentioned both of them in case any one found this type of problem then he can see the solution which is appled by you.
Regards,
Anil -
Index creation failed in Business Objects Explorer
Hi,
I installed the Business Objects Explorer ...
But I can not index anything.
When I try to index the following message appears:
"Server, DRWBI001.PolestarIndexing, generated messages The Following:
Index creation failed. File system Polestar exceptions occurred on the server. Search for Polestar ERROR Within the servers log file for more details. (Can not create directory C: \ Program Files \ Business Objects \ BusinessObjects Enterprise 12.0 \ win32_x86 \ \ Index \ DRWBI001.PolestarIndexing \ InProgress \ ExplorationIndexes \ 35e98114-4831-A254-8dad-497fd3d4bb26 \-30_10.09.41 2010-06. 564) "
What should I do? help me pleaseI do not have UNIVERSE.
I'm trying to index files like Microsoft excel.
I have to do some configuration in the CMC to be able to crawl in Business Objects Explorer?
What should I do to crawl in Business Objects Explorer? -
BusinessObjects Explorer The creation of the data source object tree failed
Hi,
I'm trying to create a new information space in BusinessObjects Explorer 4.0. When I select the Universe I want to use and click "New" Information Space I get the following error.
Failed to retrieve the data source details.
The creation of the data source object tree failed.
I'm just using a local installation, BI Platform 4.0, Client Tools, and Explorer are all installed on my Windows 7 machine. It's intended to be a demo environment.
Any guidance would be appreciated!
JeffHi Jeff,
first of all BI4 Enterprise is not supported on Windows 7 and it may not work properly for various reasons.
But you can give this a try:
Update the command line parametres of each of the Explorer Services to use a different value for the connection server libraries
The changes are made to the command line of each of the Explorer services
- Master
- Exploration
- Indexing
- Search
Remove the following from the command line parameters of the existing Explorer services
-connectivity_dir "C:/Program Files (x86)/SAP BusinessObjects/SAP BusinessObjects Enterprise XI 4.0//dataAccess/connectionServer"
Example of the original Explorer Master server command line parameters:
-Djava.awt.headless=true -Dosgi.configuration.area=configuration.BI40.ExplorerMasterServer1 -server -XX:MaxPermSize=256m -Dosgi.clean=true -Xmx1g -jar plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar -loggingPath "C:/Program Files (x86)/SAP BusinessObjects/SAP BusinessObjects Enterprise XI 4.0/logging/" -connectivity_dir "C:/Program Files (x86)/SAP BusinessObjects/SAP BusinessObjects Enterprise XI 4.0//dataAccess/connectionServer" -serverkind explorerMaster
And update the server command line parameters with the following:
"-Dbusinessobjects.connectivity.directory=C:/Program Files (x86)/SAP BusinessObjects/SAP BusinessObjects Enterprise XI 4.0//dataAccess/connectionServer"
Example of an updated Explorer Master server command line parameters:
-Djava.awt.headless=true -Dosgi.configuration.area=configuration.BI40.ExplorerMasterServer -server -XX:MaxPermSize=256m -Dosgi.clean=true -Xmx1g -jar plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar -loggingPath "C:/Program Files (x86)/SAP BusinessObjects/SAP BusinessObjects Enterprise XI 4.0/logging/" -Dbusinessobjects.connectivity.directory="C:/Program Files (x86)/SAP BusinessObjects/SAP BusinessObjects Enterprise XI 4.0//dataAccess/connectionServer" -serverkind explorerMaster -
Issue:
On a vanilla installation, the sandboxed code service (e.g. SPUCHostService.exe) is started; however, SPUCWorkerProcessProxy.exe and subsequently SPUCWorkerProcess.exe fails to start.
Resolution/Workarounds attempted:
Attempted 2 different Load balancing settings – local and remote (i.e. affinity)
Ensured local computer policy on server for ‘RPC Endpoint Mapper Client Authentication’ and ‘Restrictions for Unauthenticated RPC clients’ is disabled.
Ensured following key in registry is set properly - HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\RPC
Attempted to bypass SharePoint’s check for certificate revocations at crl.microsoft.com
Ensured the service account is added to the respective groups (e.g. Performance Log Users, Performance Monitor Users, IIS_IUSRS, WSS_ADMIN_WPG, WSS_WPG)
Increased limit of ‘AbnormalProcessTerminationCount’ of SPUserCodeService via Powershell
We have tried all possible workarounds from the following MSDN reference:
http://blogs.msdn.com/b/sharepointdev/archive/2011/02/08/error-the-sandboxed-code-execution-request-was-refused-because-the-sandboxed-code-host-service-was-too-busy-to-handle-the-request.aspx
ULS:
02/21/2014 05:24:50.64 SPUCHostService.exe (0x0230) 0x0F74 SharePoint Foundation Sandboxed Code Service fe8a
Medium - - Unable to activate worker process proxy object within the worker process: ipc://38432b45-2f32-4926-ade2-ef53ae1cd501:7000
02/21/2014 05:24:50.64 SPUCHostService.exe (0x0230) 0x0F74 SharePoint Foundation Sandboxed Code Service fe8c
Medium - - Error activating the worker process manager instance within the worker process. - Inner Exception: System.InvalidOperationException: Unable to activate worker
process proxy object within the worker process: ipc://38432b45-2f32-4926-ade2-ef53ae1cd501:7000 at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.CreateWorkerProcessProxies()
02/21/2014 05:24:50.64 SPUCHostService.exe (0x0230) 0x0F74 SharePoint Foundation Sandboxed Code Service ei0t
Medium - Process creation/initialization threw an exception. Stopping this process. "ipc://38432b45-2f32-4926-ade2-ef53ae1cd501:7000"
02/21/2014 05:24:50.65 SPUCHostService.exe (0x0230) 0x0F74 SharePoint Foundation Sandboxed Code Service
fe87 Medium - - Error activating the worker process manager instance within
the worker process. - Starting worker process threw - Inner Exception: System.InvalidOperationException: Unable to activate worker process proxy object within the worker process: ipc://38432b45-2f32-4926-ade2-ef53ae1cd501:7000 at Microsoft.SharePoint.UserCode.SPUserCodeWorkerProcess.CreateWorkerProcessProxies()
Any other insights on how I can troubleshoot the issue described?
Thanks in advance!Hi ,
For resolving your issue , you can do as the followings:
1. Logged into the Web Server with the Timer Service Account.
2. Ran the powershell command to check the SID of the account running the spucworkerprocessproxy.exe:
$(Get-SPManagedAccount -Identity "THE SERVICE ACCOUNT").Sid.Value
3. Checked the registry :
HKEY_USERS\[SID OF THE SERVICE ACCOUNT]\Software\Microsoft\Windows\CurrentVersion\WinTrust\Trust Providers\Software Publishing\State
4. Changed the value 0x00023c00 to 0x00023e00
In addition, here are some similar posts for you to take a look at:
http://social.technet.microsoft.com/Forums/en-US/aae497df-5f0d-4f86-a724-c7b805ccd07f/sharepoint-sandboxed-code-service-troubles?forum=sharepointgeneralprevious
http://blogs.technet.com/b/operationsguy/archive/2011/01/17/sharepoint-2010-sandboxed-code-solutions-and-web-proxy.aspx
http://social.msdn.microsoft.com/Forums/en-US/c21e2c3a-a259-4d5f-8071-eff52b7bddc3/issue-sandbox-solution-too-busy-to-handle-the-request?forum=sharepointgeneralprevious
I hope this helps.
Thanks,
Wendy
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Wendy Li
TechNet Community Support -
Portmap translation creation failed for udp src inside dst inside
Hi!
I have a problem with allowing traffic to UC500 subnets on ASA 5505 inside interface.
My asa is a main router with addres 192.168.1.1
UC500 voip box is connected to ASA's inside interface through UC500 WAN port with UC500 with 192.168.1.2 address.
Firewall and NAT on UC500 is disable
UC500 sip traffic works fine. voipbox creates its subnets for data and voip - 192.168.10.0 and 10.1.1.0. another important address is 10.1.10.1 which is UC500 CUE.
My problem is that from within ASA local network (192.168.1.0) i cannot reach UC500 subnets, neither can I reach ASA's local network from the UC subnets.
the log says
3
Sep 07 2013
00:21:49
DC
53
PBXCUE
32901
portmap translation creation failed for udp src inside:DC/53 dst inside:PBXCUE/32901
I tried exempting uc500 subnets on ASA but that didn;t work.
Funny thing is that I CAN reach the UC500 subnets when connecting with VPN to ASA...
Please help! I am not familiar with CLI.
I configured static route to 10.1.10.0 and since then I was able to ping 10.1.10.1 thorugh ASA;s VPN.
I would be grateful for ideas.
Lukasz
global (inside) 1 interface
global (outside) 101 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 101 0.0.0.0 0.0.0.0
static (inside,outside) tcp interface https IIS https netmask 255.255.255.255 dns tcp 200 200 udp 200
static (inside,outside) tcp interface www IIS www netmask 255.255.255.255 dns tcp 200 200 udp 200
static (inside,outside) tcp interface smtp IIS smtp netmask 255.255.255.255 dns
static (inside,outside) tcp interface pop3 IIS pop3 netmask 255.255.255.255 dns
static (inside,outside) udp interface domain RenBetPBX domain netmask 255.255.255.255 dns
static (inside,outside) udp interface 5061 RenBetPBX 5061 netmask 255.255.255.255 dns
static (inside,outside) udp interface sip RenBetPBX sip netmask 255.255.255.255 dns
static (inside,outside) tcp interface 13000 SQL 13000 netmask 255.255.255.255 dns
access-group inside_access_in in interface inside
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 x.x.x.x
route inside PBXCUE-network 255.255.255.0 RenBetPBX 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
dynamic-access-policy-record DfltAccessPolicyHello Julio!
Thank you for your advice.
I have managed to solve my main problem by reconfiguring my switches vlans - enabling trunk port configs for required ports and allowing them access to both vlans.
Now I can see everything from all of my inside networks.
I continue my ASA adventures - I have managed to configure L2TP client access for my windows users, RADIUS authentication for domain users and yesterday night I have managed to configure site to site VPN with my RV120W router.
I am only an enthusiast but my recent successes have given me apetite for more...
I keep reading forums and trying to solve most of my problems myself but I have faced another one now and thought that maybe you could give me another tip on where to look for the issue:
I still have one problem with my L2TP VPN config - I have configured split tunnel on the group policy to tunnel only 192.168.1.0 network requests.
access-list DefaultRAGroup_splitTunnelAcl standard permit 192.168.1.0 255.255.255.0
My network at home is 192.168.2.0 but it still tunnels everything (when I check my ip after connecting to VPN my home laptop still identifies with ASA gateway(!) address .
access-list outside_access_in extended permit icmp any interface outside object-group DM_INLINE_ICMP_1
access-list outside_access_in extended permit tcp any interface outside object-group DM_INLINE_TCP_1
access-list outside_access_in extended permit tcp any interface outside eq smtp
access-list outside_access_in extended permit tcp any interface outside eq 8080
access-list outside_access_in extended permit tcp any interface outside eq 23456
access-list outside_access_in extended permit object-group DM_INLINE_SERVICE_1 object-group DM_INLINE_NETWORK_1 any
access-list outside_access_in extended permit tcp any interface outside eq 13000
access-list outside_access_in extended permit tcp any interface outside range 8001 8016
access-list outside_access_in extended permit tcp x.x.x.x 255.255.255.0 interface outside eq ssh
access-list inside_nat0_outbound extended permit ip any 192.168.1.240 255.255.255.240
access-list inside_nat0_outbound extended permit ip any PBXVOIP-network 255.255.255.0
access-list inside_nat0_outbound extended permit ip any PBXCUE-network 255.255.255.0
access-list inside_nat0_outbound extended permit ip 192.168.1.0 255.255.255.0 igolomska-network 255.255.255.0
access-list inside_access_in extended permit udp object-group DM_INLINE_NETWORK_2 any object-group DM_INLINE_UDP_1
access-list inside_access_in extended permit ip host IIS any
access-list inside_access_in extended permit ip any any
access-list inside_access_in extended permit ip host RBSTORE_NAS any
access-list inside_access_in extended deny udp any any object-group DM_INLINE_UDP_2
access-list inside_access_in extended permit tcp any any eq 5432
access-list inside_access_in extended permit tcp any host PBXCUE eq www
access-list inside_access_in extended permit tcp host PBXCUE any eq www
access-list inside_access_in extended permit tcp host RBCAMSTORE_NAS host EXCH-MBX eq smtp
access-list inside_access_in extended permit tcp host RBSTORE_NAS host EXCH-MBX eq smtp
access-list inside_access_in extended permit tcp host RENBETUPS host EXCH-MBX eq smtp
access-list inside_access_in extended permit tcp host RenBetPBX host EXCH-MBX eq smtp
access-list DefaultRAGroup_splitTunnelAcl standard permit 192.168.1.0 255.255.255.0
access-list outside_1_cryptomap extended permit ip 192.168.1.0 255.255.255.0 igolomska-network 255.255.255.0
route print shows:
and 192.168.1.240 is my VPN IP - its metric has higher priority than the local gateway.
How do I change it?
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.2.1 192.168.2.126 4250
0.0.0.0 0.0.0.0 On-link 192.168.1.240 21
80.51.24.22 255.255.255.255 192.168.2.1 192.168.2.126 4251
127.0.0.0 255.0.0.0 On-link 127.0.0.1 4531
127.0.0.1 255.255.255.255 On-link 127.0.0.1 4531
127.255.255.255 255.255.255.255 On-link 127.0.0.1 4531
169.254.0.0 255.255.0.0 On-link 192.168.2.126 4506
169.254.104.126 255.255.255.255 On-link 192.168.2.126 4506
169.254.255.255 255.255.255.255 On-link 192.168.2.126 4506
192.168.1.240 255.255.255.255 On-link 192.168.1.240 276
192.168.2.0 255.255.255.0 On-link 192.168.2.126 4506
192.168.2.126 255.255.255.255 On-link 192.168.2.126 4506
192.168.2.255 255.255.255.255 On-link 192.168.2.126 4506
224.0.0.0 240.0.0.0 On-link 127.0.0.1 4531
224.0.0.0 240.0.0.0 On-link 192.168.2.126 4506
224.0.0.0 240.0.0.0 On-link 192.168.1.240 21
255.255.255.255 255.255.255.255 On-link 127.0.0.1 4531
255.255.255.255 255.255.255.255 On-link 192.168.2.126 4506
255.255.255.255 255.255.255.255 On-link 192.168.1.240 276
===========================================================================
I am starting to feel like I am using a bit too much of your friendliness ...
Best Regards and have a great day!
Lukasz -
VPN problem behind ASA5505 -regular translation creation failed for protocol 50
Dear All,
I have to connect behind my ASA5505 with an VPN klient to an other site.
First time i got this failure.
"Deny protocol 50 src inside:192.168.50.X dst outside:x.x.x.x by access-group "acl_in" [0x0, 0x0]"
Than I opened our inside (src 192.168.50.0) network the UDP 500,4500 TCP 500,4500,10000 and ESP (dest x.x.x.x remote firewall ip).
access-list acl_in extended permit esp host 192.168.50.0 host x.x.x.x eq isakmp
access-list acl_in extended permit udp host 192.168.50.0 host x.x.x.x eq 500
access-list acl_in extended permit eudp host 192.168.50.0 host x.x.x.x eq 4500
etc.
After that i could connect for the remote firewall with vpn client but i couldn't reach any PC1s on there side and ping gives back no anwser.
Deny protocol 50 was solved but i got an other problem:
"regular translation creation failed for protocol 50 src inside:192.168.50.X dst outside:x.x.x.x"
I found somewhere thet lines can help:
crypto isakmp nat-traversal
inspect ipsec-pass-thru
But this wasn't usefull.
I tried a many thing but i'm stuck.
Could somebody help me what can i do to solve this problem?
Thanks for all anwsers!The solution was the following for one IP!
object network x.x.x.x (inside IP)
host x.x.x.x (inside IP)
nat (inside,outside) static y.y.y.y (remote IP) -
How to create a proxy object for MOSS integration via WebDynpro For ABAP
Hello all,
I have a question about the creation of an ABAP proxy class in SE80.
When i follow this link:
[https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/6066fbe8-edc4-2910-9584-a9601649747d&overridelayout=true]
i see on page 7 that there is: a tab under create called Enterprise Service/ Web Service with under this tab a tab called proxy object.
When i do this in my SE80 i only see Enterprise Service and not proxy object.
Screenshot
[http://picasaweb.google.be/panneels.robin/SAPScreens#5377623235095894546]
Is there a extra configuration or add-on needed to do this action? Or is there a work-arround for this?
Because we need this for abap web dynpro for communication with MOSS.
Thanks in advance for all your help.
With kind regards,
Robin PanneelsHi James,
If you like to use SAP web dispatcher as a solution for load balancing portal application, you no need to create system object under systems..
You have to install web dispatcher as separate instance where you need to configure portal apps into it..
Configure web dispatcher like to hit the admin port, use http://<webdisp-server>:<adminport>/sap/admin
For normal portal access, use http://<friendly URL>/irj/portal
The good news is that the webdispatcher knows that the portal supports SSL
Another advantage of this config, is the webdisp, will just replace the apache redirect server. Users will access mycompany.com, without any port number, since we are redirecting 80 to the backend j2ee. Also, https should work like in the normal world.
Profile will be like below...
SAPSYSTEMNAME = WEB
SAPSYSTEM = 00
INSTANCE_NAME = W00
DIR_CT_RUN = $(DIR_EXE_ROOT)/run
DIR_EXECUTABLE = $(DIR_CT_RUN)
Accesssability of Message Server
Message Server Parameters ##########
NOTE: The "ms/http_port" must match the profile on the Central Instance
rdisp/mshost = <FQDN of portal CI Host>
ms/http_port = <Ms port of portal>
SAP Web Dispatcher Ports
#icm/server_port_0 = PROT=HTTP,PORT=81$$
icm/server_port_0 = PROT=HTTP,PORT=80, TIMEOUT=3600, EXTBIND=1 (some OS will not allow to bind ports <1024)
Admin port details
icm/server_port_1 = PROT=HTTP,PORT=3200
#, EXTBIND=1
icm/HTTP/admin_0 =
PREFIX=/sap/admin,DOCROOT=./admin,PORT=3200,AUTHFILE=/usr/sap/WEB/SYS/global/security/data/icmauth.txt
SSL
icm/HTTP/redirect_0 = PREFIX=/ , TO=http://<friendly URL name>/irj/portal
WebAS Message Server Parameters
rdisp/TRACE = 1
icm/trace_secured_data = 1
Regards
Suresh -
Hello,
I have a question on object creation and while loops. Have a look at the following code snippet:
while(true)
Object obj = new Object();
// Pass off obj to a new thread
Thread job = new Thread(new ObjectHandler(obj));
job.start();
}My question is, do I have to wait until the newly created Thread is finished with the Object obj before I can create a new Object called obj in the while loop?
Also does anyone have any documentation on this sort of thing?
Thanks,
Tony.Jaxie wrote:
I'm still not sure you get what I'm on about, you might want to read up on java methods and pass by value.I think we know how it works. Most of us have been programming in Java for serveral years.
>
When you pass an object to a method in java you pass it a copy of a reference to that object. Leading on from that, before an object is eligible for garbage collection in java, all references to that object must be dropped.
So with all that in place, my question was, is the creation of an object in a while loop dependent on previous objects of the same name? Objects don't have names. Have we mentioned that before?
You have a reference, larry that is referencing an unnamed object. You can also create other references that reference the same object. The thread will have one reference. You can then make larry reference another object. That will not change anything in the thread. It will still reference the old object, and that object will not be claimed by the gc until that thread stops referencing it.
So the second time we go through the loop below, do we have to wait until larry has been garbage collected, before a new larry can be created?Read the articles/tutorials and what I have written above. What do you think?
Do also note that the GC isn't executed synchronously. -
Import package creation failed (name locked)
Hello!
When I import a package, one of the objects in ‘Import Results’, have the ‘Action’ 'Creation failed (named locked)'.
I have search the database for the same name:
select * from dba_objects where object_name = 'ADDRESS_HISTORY'
But no rows returns.
ADDRESS_HISTORY is a function in the package. In the "Import Results" it exists twice. In the beginning with Action 'No change' and in the end as described above.
ADDRESS_HISTORY only occurs once in the package.
Why do I get the message 'creation failed (name locked)'?
Best regards,
Tina N MörnstamI had to remove the function from the package, make an import. Rewrite the function in the package again and then redo the import.
Tina -
Tree creation failed on node: pcd:portal_content/...
Hi out there,
after patching our EP 7 from SPS 10 to SPS 13 we have the following error:
In the portal content directory there are some folders which cannot be
expanded anymore. The following error message appears: "Could not load
or refresh node Tree creation failed on node: pcd:portal_content/..."
I have found out that this is always caused by an inconsistent role
which is located in the folder I'd like to expand (or in a subfolder
of it).
It seems that this error has already been occuring in earlier SPs and / or releases. Has anyone found a solution to it?!?
Thanx for your support and best regards
Juergen Kuechle.Hi
Restart the server it solve ur problem
The problem is caused by a missing "ADD" notification for imported folder objects. If the package contains new folder objects , the caches on other cluster nodes are not synchronized for these folders. If the package contains a complete folder hierarchy with other PCD objects (like iViews, pages, roles, ...) under a folder, and this folder object is contained in the package and imported before the objects under the folder, the complete hierarchy is not synchronized in the cluster.
Release the PCD cache on all cluster nodes after importing an EPA file containing folder objects
Create separate transport packages for the folder objects and import them after the transport packages containing the (regular) objects under these folders
Check SAP NOTE 991599
Regards
Krishna. -
Transporting ABAP proxy objects from one environment to another
Hi
I have ABAP client proxy objects ( classes in ECC 5.0 and the corresponding XI message interfaces on the XI server ) - in my development environment.
I need to move the ABAP proxy objects to the Qa environment. Two ways of doing this come to my mind.
1) Move the proxy classes within the ECC 5.0 Dev --> QA using normal transport organizer in ABAP workbench. Parallely , move the XI SCVs - from dev to QA ( export/import ). After both are done, go to QA environment, setup basic ECC5.0 <-> XI connection and check whether my ABAP proxies work.
2) As an alternate approach to no.1, move only the XI based SCVs from Dev -->QA , go to ECC 5.0 QA environment
and regenerate the ABAP proxies there using SPROXY - perhaps this will not be allowed in the QA environment - since the client will not be setup for any object changes/creation.
Any thoughts/links/weblogs on the above is appreciated.
Thanks in advance for your time.Hi Kartik,
We recently moved our outbound proxies from dev to QA and we followed the first approach and we did not face any issues with the approach.
Also SAP suugests the same approach...
"You create proxy objects in the development system by using the proxy generation functions. They are transported and shipped by using the tools in the development system. There are separate tools in the Integration Repository (see also: Software Logistics for XI Objects)."
http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm
Regards
Anand
Message was edited by: Anand Torgal -
Proxy object to consume web service
Hi,
I want to consume a web service in ABAP (on a WAS 7 box) and have read many blogs/posts about using a proxy object.
I've gone to SE80 and selected create a service consumer, enter the URL for the WSDL.
The generation of the proxy fails with the following messages;
Proxy-Generierung: Fehler aufgetreten
Exception occured in the library handler
not implemented
There is no other help or information in these errors.
Does anyone have any ideas on what is causing this and what I can do to successfully generate a proxy to consume the web service ?
Cheers
JamesHello Torsten,
It seems that the Web Service You are going to consume is a SOAP 1.2 one.
It is apparently making use of the so-called "SOAP Web Method Feature" which is part of the SOAP 1.2 specification (see [Web Method Feature (W3C)|http://www.w3.org/TR/soap12-part2/#WebMethodFeature]).
Unfortunately, SOAP 1.2 is, to the best of my knowledge, not supported as yet by the SOAP Adapter in SAP NW 7.0 / 7.1. That leaves You, in theory, with one of the following options:
- It might be possible to consume that service with the help of Axis framework (see [Using the Axis Framework in the SOAP Adapter|http://help.sap.com/saphelp_nw04/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/frameset.htm]). SAP Help states that with the help of the Axis framework SOAP 1.2 can be used. However, there are no further details on that subject, especially whether Web Method feature can be utilised (btw - has anyone tried this?).
- Ask service provider for a SOAP 1.1-compatible WSDL.
- Attempt to reverse engineer the SAP SOAP proxy so that it is capable of consuming a SOAP 1.2 Web Method-based web service (has anyone done this before?).
Would You be so kind to post whether, and how, You were able to consume this web service?
Kind regards
Wiktor Nyckowski -
Hi,
I want to use the google web servcices(http://api.google.com/GoogleSearch.wsdl) by creating a proxy object in SE80. But, the system returns "Proxy generation terminated: Message must have exactly one part" during the proxy creation.
Any configration is required prior the proxy create??
Regards,
Kit/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
Maybe you are looking for
-
Just recently whenever I use Preview and annotate my documents I get this weird triangular shade on the word I highlighted instead of the usual blocked look. How do I change this back?? Here is how it looks: http://i248.photobucket.com/albums/gg175/m
-
How can I get the old view of iCal back on my MacBook Pro and iPhone?
How can I get the old view of iCal back on my MacBook Pro and iPhone? The Mavrick version is crisp and clean but a colored dot is not the same as a highlighted word. I rely on my iCal on my MacBook Pro and iPhone 5 to help me track which of the 8 si
-
hello, i've been having some troubles for a while and looking for any magical advice. i have a hosting/email package with godaddy that i'm happy with except their outgoing mail server which never works reliably for me (hit or miss). i have tried all
-
Hi All, I have the following scenario, i am creating a BOM in which for one material there are two alternate items. Here i mean if Material A is the main item, and if this not available then we need to use both Material B and Material C. We have alte
-
Saving a large psb as a jpeg/bmp
I have a large psb file which is an image of 39k by 27k pixels at 48 bpp. The image size is about 5.7 GB. PS CS6 trial only gives me the option to save it as a TIFF or Photoshop RAW only. I would like to use this large image as a master copy from whi