Workshop 8.1 Problem
We've run into a problem with javax.xml.namespace.QName versions -- there is a version of this file in weblogic.jar and the problem is that we need to float the newer implementation (used by Axis2) higher on the classpath than weblogic.jar;
We've been able to do this in setDomainEnv.cmd for our server startup, in our build files for compilation, but for Workshop and the debugger, it appears that the way things are configured, there is no way to reconfigure the default server classpath for an Application/Domain.
For example if you right click on an application in Workshop and go to "Properties" you'll see a message at the bottom of the "WebLogic Server" tab that says "If you have added any jars to your server's classpath, add them here as well. Note that this is the IDE's view of additions to the server classpath. Changes do not affect the server itself."
Adding the JAR I need here does not affect the default server classpath ordering at all. I see how these options are just dumped into the root domain directory in a workshop.properties file, but the Default Server Path is not specified there. Where is that coming from?
I know in certain parts of Eclipse dealing with paths you can prepend parts to paths. That's what we need to do, essentially. Anyone know how to do this?
Thanks for any help!
Can you open a support case on this?
http://support.bea.com/application?namespace=portal
Chris Wash wrote:
We've run into a problem with javax.xml.namespace.QName versions -- there is a version of this file in weblogic.jar and the problem is that we need to float the newer implementation (used by Axis2) higher on the classpath than weblogic.jar;
We've been able to do this in setDomainEnv.cmd for our server startup, in our build files for compilation, but for Workshop and the debugger, it appears that the way things are configured, there is no way to reconfigure the default server classpath for an Application/Domain.
For example if you right click on an application in Workshop and go to "Properties" you'll see a message at the bottom of the "WebLogic Server" tab that says "If you have added any jars to your server's classpath, add them here as well. Note that this is the IDE's view of additions to the server classpath. Changes do not affect the server itself."
Adding the JAR I need here does not affect the default server classpath ordering at all. I see how these options are just dumped into the root domain directory in a workshop.properties file, but the Default Server Path is not specified there. Where is that coming from?
I know in certain parts of Eclipse dealing with paths you can prepend parts to paths. That's what we need to do, essentially. Anyone know how to do this?
Thanks for any help!
Similar Messages
-
After debugging for a while the dbx shell that workshop uses becomes unstable. I have to restart the whole environment
This also is produced on the console:
workshop: warning: MsgSnd::snd_via(): no socket -- msg 'DBX_KSH_CMD' dropped
Has anyone got a workaround for this ?This error message means that the dbx binary running inside
workshop is crashing. If you can go to the machine where
the tool is running, and copy the /tmp/core file and
compress it and then mail it to me ([email protected])
then I'll file a bug for you.
You can check the core file to make sure it's from dbx:
% file /tmp/core
/tmp/core: ELF 32-bit MSB core file SPARC Version 1, from 'dbx'
The output should look something like that.
Also, if you have more questions or problems related
to the debugging tools there is now a separate forum
just for topics related to the debugging tools.
--chris -
Workshop extension: JavaDocument problem
Hello,
I'm developing extension for Workshop Web Service Java Control.
In getExtensionFileContent() method I want to read the generated control java class, to parse it and to do something with this data.
For example I need to know the return type of the methods of this class.
I'm usin following code :
// tahke the file source from somewhere (file system for example
File file = new File("C:\\bea\\Web.java");
JavaDocument jcx = (JavaDocument)DocumentSvc.get().getDocument(file .toURI());
jcx.waitForRootElement();
JavaClass myClass = jcx.getMainClass();
List methodsList = myClass.getChildrenByClass(JavaMethod.class);
for (int i = 0; i < methodsList.size(); i++) {
JavaMethod javaMethod = (JavaMethod) methodsList.get(i);
String name = javaMethod.getName();
String type = javaMethod.getType();
The input class is as following :
public class MyClass
com.mycompany.MyReturnType myFunction() {
return null;
the class com.mycompany.MyReturnType is in the classpath.
When I invoke this code I get the string "<error> in type variable from above.
Does anybody know what is the problem and how to solve it?
Thanks a lot.
Victor.Hello,
I'm developing extension for Workshop Web Service Java Control.
In getExtensionFileContent() method I want to read the generated control java class, to parse it and to do something with this data.
For example I need to know the return type of the methods of this class.
I'm usin following code :
// tahke the file source from somewhere (file system for example
File file = new File("C:\\bea\\Web.java");
JavaDocument jcx = (JavaDocument)DocumentSvc.get().getDocument(file .toURI());
jcx.waitForRootElement();
JavaClass myClass = jcx.getMainClass();
List methodsList = myClass.getChildrenByClass(JavaMethod.class);
for (int i = 0; i < methodsList.size(); i++) {
JavaMethod javaMethod = (JavaMethod) methodsList.get(i);
String name = javaMethod.getName();
String type = javaMethod.getType();
The input class is as following :
public class MyClass
com.mycompany.MyReturnType myFunction() {
return null;
the class com.mycompany.MyReturnType is in the classpath.
When I invoke this code I get the string "<error> in type variable from above.
Does anybody know what is the problem and how to solve it?
Thanks a lot.
Victor. -
Platform Domain and WorkShop JMS Control Problems
I created a platform domain and created a workflow in WLI. I would like to expose
the workflow from a web service. I successfully used the JMS control to send
the XML request into WLI and receive the reply from WLI. My problem is whenever
I try to execute the callback function when I receive my reply from JMS it his
a loop and never executes the callback to the client. In the same service i replaced
the JMS interaction with a timer and it works fine. The problem only occurrs when
the JMS control receives the reply and then invokes the callback. If I just receive
the reply without calling the callback everything works fine. Any ideas? ThanksI did a little more debugging and it looks like when the message is sent to the
JMS Queue a different instance of the session EJB is calledback to when the JMS
reply is received. I noticed when my callback is invoked by JMS i have different
proxy and context objects. I hope this helps.
"David" <[email protected]> wrote:
>
I created a platform domain and created a workflow in WLI. I would like
to expose
the workflow from a web service. I successfully used the JMS control
to send
the XML request into WLI and receive the reply from WLI. My problem is
whenever
I try to execute the callback function when I receive my reply from JMS
it his
a loop and never executes the callback to the client. In the same service
i replaced
the JMS interaction with a timer and it works fine. The problem only
occurrs when
the JMS control receives the reply and then invokes the callback. If
I just receive
the reply without calling the callback everything works fine. Any ideas?
Thanks -
SUN Workshop 6U2 Debugger Problem
Hi,
I am using SUN Solaris 8 platform for our Application Prog. Development with SUN Forte 6 U2 C Compiler. However after successful build, whenever I am trying to run & debug any of the Application Prog. using SUN Workshop 6U2 dbx tool (using Xterm GUI Env), it is always throwing the following error and getting aborted:
(dbx) debug - 21314 <-- this is one of our application prog PID
There might be too many LWP's in this process.
See `help dbxenv' under mt_scalable.
dbx: Cannot open lwpstatus.
detaching from process 21314
However any of the application prog.s if I run without dbx is running successfully. I also tried to set the dbxenv parameter "mt_scalable" to "on" (which by default is always set to "off") but it didn't work. And I have verified that, all the "lwpstatus" files are there properly in the "/proc/<PID>/lwp/..." path for every process that I tried to debug.
It would be great if anyone can help me out on how to resolve this issue while trying to use Sun dbx 6�.
Thanks.Hi,
I am using SUN Solaris 8 platform for our Application Prog. Development with SUN Forte 6 U2 C Compiler. However after successful build, whenever I am trying to run & debug any of the Application Prog. using SUN Workshop 6U2 dbx tool (using Xterm GUI Env), it is always throwing the following error and getting aborted:
(dbx) debug - 21314 <-- this is one of our application prog PID
There might be too many LWP's in this process.
See `help dbxenv' under mt_scalable.
dbx: Cannot open lwpstatus.
detaching from process 21314
However any of the application prog.s if I run without dbx is running successfully. I also tried to set the dbxenv parameter "mt_scalable" to "on" (which by default is always set to "off") but it didn't work. And I have verified that, all the "lwpstatus" files are there properly in the "/proc/<PID>/lwp/..." path for every process that I tried to debug.
It would be great if anyone can help me out on how to resolve this issue while trying to use Sun dbx 6�.
Thanks. -
Bea JSP workshop plugin- and MyEclipse - problems
I have been using Bea workshop studio eclipse plugin ( JSP part) with MyEclipse. Bea JSP workshop( with Struts) is a very good product-- better than My Eclipse JSP's .
I had been using MyEclipse (Build id: 20060810-5.0.1-GA windows )with BEA JSP workshop version 3.2.1 with no problems. This combination works well.
I reinstalled the latest versions of eclipse/myeclipse/BEA workshop for struts
and now things are not working well.
Right clicking on the navigator and package explorer in the different perspectives ( JAVA, MyEclipse, BEA workshop studio does not always work
To reproduce the problem install Eclipse 3.2 then MyEclispe version 20061111-5.1.0-GA , then BEA JSP workshop studio - trial version 3.3 . Try and right click on an item in the navigator and package explorer -- change to different perspectives --JAVA, MYEclipse , BEA Workshop for Struts and try to right click again.
THen uninstall BEA Workshop . The problem goes away.
HankFYI
I received this reply from MyEclipse:
"MyEclipse uses the patched WTP. You have installed WTP that has been included in BEA Workshop.
The easiest way to solve this issue is to disable BEA's WTP. MyEclipse's WTP is compatible with BEA Workshop."
I updated to eclipse 3.2.1 and disabled BEA's WTP and everything seems to be working OK. -
XML DevCon 2001: Submit schema and stylesheet problems- win XML Spy
There are only a few days to submit schema and stylesheet problems for XML
DevCon 2001 in London. If the workshop instructors use your submission
during the conference, you win a copy of XML Spy.
<shamelessPlug>
XML DevCon 2001 has a content-rich technical program with a faculty that
includes Henry Thompson (W3C Fellow), Peter Chen (IEEE Fellow, ACM
Fellow),
Martin Bryan (DIFFUSE Project), and authors such as Bob DuCharme, Ian
Graham, Elliotte Rusty Harold, G. Ken Holman, Benoît Marchal, JP
Morgenthal,
and Simon St. Laurent. There are a variety of eBusiness sessions,
including
panel discussions and presentations about ebXML, Web Services, and UDDI.
The program includes presentations by Jonathan Borden, Ron Bourret, Lee
Buck, Alex Chaffee, Mark Colan, John Evdemon, Meike Klettke, Andy
Longshaw,
Ingo Macherius, Simon Nicholson, David Orchard, Sebastian Rahtz, Daniel
Rivers-Moore, Michael Rys, Krishna Sankar, Matt Sergeant, Richard Tobin,
Priscilla Walmsley, David RR Webber and other distinguished faculty.
</shamelessPlug>
http://www.xmldevcon2001.com/London/html/conference.php
For a free pass to exhibits and special events (keynotes, joint XML UK and
British Computer Society meeting, OASIS XPath/XSLT meeting, vendor
presentations):
http://www.xmldevcon2001.com/London/html/special_events.php
Public submissions (schemas and stylesheets)
Three members of the W3C Schema Working Group (Michael Rys, Henry
Thompson, Priscilla Walmsley) will teach a Schema Workshop. Submit
problem schemas to them by e-mail:
[email protected]
or
http://www.xmldevcon2001.com/London/html/session.php?code=W5
Sebastian Rahtz, Bob DuCharme, Benoît Marchal, and Ken Holman will
present the "Stylesheets and Transformations: Best Practices" workshop on
Thursday, February 22 in London. To submit a stylesheet or problem
description for their workshop:
[email protected]
or browse to:
http://www.xmldevcon2001.com/London/html/session.php?code=T17
========== Ken North ======================
See you at Javacon 2001 (New York, March 1)
www.javacon2001.com
XML DevCon 2001: London (February 21-23) New York (April 8-11)
www.xmldevcon2001.com
=======================================Looks okay to me. But then I have no idea of what those "problems" are that you mentioned. Was there a particular reason you didn't tell us what they are?
-
Hi,
I'm trying Robohelp to see if I can use it to create localised versions of our help files.
I have the old .hlp project .hpj file and .rtf files from all of the languages that we need to create.
- For Windows_1252 languages I can use Microsoft's HTML workshop with no problems.
- For non Windows_1252 languages such as Russian (Windows_1251) the htm files created by the MS tool show the correct page content but the Titles and Keywords are corrupted and the href links are missing.
Hence my attempt to try Robohelp.
So far I've found that importing the hpj file and the desired rtf file works fine again for Windows_1252 languages. But that's not much help as I could already create those in the MS tool.
When I try to import the hpj file with a non Windows_1252 rtf file such as Russian, I can create a chm and all of the links seem to be intact, but all of the characters including the page content characters are corrupted.
This can be seen in the htm file displayed in Robohelp as soon as the new project import has finished. I've tried setting the language for all the .htm files to Russian, I've set the language for the project to Russian and I've picked Russian as the language in the .chm build dialog. Unfortunately I think none of these are likely to work as the characters have already been corrupted in the htm files created during the import.
I've tried the Robohelp build on XP with the Locale set to Russian, and I've tried it on Windows 7 x64 with the Russian language pack installed, Russian selected as the display language and Russian set as the Locale.
I notice the codepage in the Robohelp created htm's are set as UTF-8 as opposed to Windows_1251.
I'm pretty sure this is just something I'm doing wrong as the MS HTML Workshop manages to get the correct characters out of the rtf page content.
Any idea where I might be going wrong? Is there someway to define the language of the RTF before the import process?Hello Andrea,
This should take atleast 3-4 weeks. Apple not getting database from skyhook is still a rumour.
Have you updated the iOS to 6?
Can you try these,
1. Turn off Location Services
2. Reset the Network Settings in iPad
3. Turn ON Location Service,
or just try resetting the iPad completely once.
Also if you have given the ADSL modem , & when it comes back this should have different IP & iPad should be bindign to the IP & not to the MODEM.
Regards,
Vinay -
I'm a complete tyro and have got to ch. 8 in Tom Wolsky's 'Editing Workshop'. My problems are these:
(1) I have no effects tab in the browser and can't work out how to get it. The FCE manual is no help.
(2) When I use the ripple tool to trim the clip, I get no timing window as in fig. 8.6.
(3) I've got overlays switched on in the Timeline, but see no sprocket holes in the Viewer, but a large 'L' shape bottom left.
I'd really appreciate help with this.Many thanks. Cmd 5 brought my Effects tab back in the browser.
But I am still at square one with the ripple tool. I follow the instructions to the top of p. 124, and with the scrubber on the edit point between Village 1 and Village 2, click with the Ripple Tool to the left of the edit point and get the picture in fig. 8.5 on p. 123 (Ripple Tool in the Timeline). So far so good.
The problem is the next step. It says 'With Ripple active, type in -15 for 15 frames', showing in fig. 6 a rectangular window with 'Ripple' on the left and '-15' on the right. I have never been able to get this window.
If I hold down the left mouse button, I get a small window with 3 double zeros separated by colons on the left and on the right (Media limit on V1). But it disappears as soon as I release the button.
If I right click, I get a window with 'Trim' and 'Add Transition Cross Dissolve'.
But I cannot get the Ripple Value window shown in fig. 8.6.
By the way, the figure numbering in Lesson 8 is faulty. The numbers go 8.5 (p.122), 8.6, 8.5, 8.6, 8.7 and then 8.10.
A couple of other points: Shift O takes me to the end of the sequence, not of the shot, and I cannot see sprocket holes on the right side of the Viewer window, although 'Show overlays' is switched on in the View menu. -
Hotswap debugging in workshop 9
Hi,
I remember that in Eclipse 2 [with Weblogic 8.1 being launched from the IDE through a plugin] & Visual age (before I used Eclipse) I used to debug web applications in a very productive manner. When the application was being debugged I could fix the code and the debugger would start from the beginning of the current method and continue without me having to restart my web app right from the login screen all over again. From what I know it is a JDK1.4 feature.
I guess this is the functionality I am talking about -
1) http://java.sun.com/j2se/1.4.2/docs/guide/jpda/enhancements.html#hotswap
2)http://www-128.ibm.com/developerworks/library/os-ecbug/#N1015F
Look under the section "Hotswap Bug Fixing: On-the-fly" code fixing
Now why isn't this possible with workshop 9 ? What extra configurations need to be done to be able to do this?
regards
SriniThis seems strange; hotswap debugging should work with Workshop 9 (i.e. Eclipse-based Workshop). It's a low-level JVM feature; I have used it in Workshop before without problems. Do you have a specific use case for which it's failing? (Be aware that hotswap debugging only works if you change code <i>inside</i> the body a method; if you change the shape of a type (not just the public shape -- if you add a field or method you are changing the shape) the change can't be hot swapped).
-Gary Horen -
How to user HTMLDB_COLLECTIONS in a PL/SQL function?
Hi!
I am trying to validate/check that an item from an updateable report is not in a collection before I add the item. I wrote a PL/SQL function to do this. It appears that a "normal" PL/SQL function cannot correctly see the HTMLDB_COLLLECTIONS view. The idea for this was posted to the forum about using a decode statement and a function to detemine whether to display the link value or not for each row. If an item has been added to the collection I want to not display the link. If the item is removed from the collection I need to redisplay the link.
I have tried validations but they depend on the page being resumbitted. And I tried to force that using a branch where the request was = 'ADD'. However everytime I set it up as a redirect to a URL it kept resetting the branch to a 'branch to a page within this application'.
Any suggestions on how to check the HTMLDB_COLLECTIONS before it is updated?
This is V2.0.
Thanks! Dave VenusHi!
Yes things work much better when run from within the "application". I had been trying to test the code from both SQL*Plus and from the SQL WorkShop.
The problem I was having even within the application was that I was getting back NULL return values. So I put some exception handling into the code and trapped the
data_not_found and others exceptions. I also had SQL%NOTFOUND code in my function. It appears the SQL%NOTFOUND was not being processed and the exception code was. I can paste the code I was using here if you want.
I went another way around the problem and rewrote the query (esp. the where clause) for the report and it seems to be doing what I need now. I would love to get the function working and understand how it should have worked so that I can use that functionallity in other applications.
Thanks!
Dave Venus -
Supposed to be simple: XQuery issue mapping array of objects (duplicate)
I've been having an issue having a web service return a repeating set of elements.
The xsd seems correctly formatted with the right structure and maxOccurs set to
ounbounded etc.
This is the actual service:
public RecArea[] getAllRecAreas()
throws Exception
RecArea[] recAreas = recAreasControl.getRecAreas();
return recAreas;
The RecArea class has public variables as required:
public class RecArea {
public BigDecimal recareaid;
public String recareaname;
When I use the XQuery mapper and connect at the RecArea level and recareaname
level, this is generated:
declare namespace ns0 = "http://www.openuri.org/"
declare namespace ns1 = "http://<deleted>/<deleted>/"
<ns1:RecAreas>
for $RecArea in $input/ns0:getAllRecAreasResult/ns0:RecArea
return
<ns1:RecArea>
<ns1:RecAreaName>{ data($RecArea/ns0:recareaname) }</ns1:RecAreaName>
</ns1:RecArea>
</ns1:RecAreas>
I have of course verifed in the debugger that recAreas is populated by the function
call and has data. The response from the service is:
<arc:RecAreas xmlns:arc="http://<deleted>/<deleted>/"></arc:RecAreas>
In other words, it's not enumerating the recAreas.
I also tried tying just the recareaname attribute. This creates an XQuery like
this:
<ns1:RecAreas>
<ns1:RecArea>
<ns1:RecAreaName>{ data($input/ns0:getAllRecAreasResult/ns0:RecArea[1]/ns0:recareaname)
}</ns1:RecAreaName>
</ns1:RecArea>
</ns1:RecAreas>
This looks like it wants to only return the one element.
The result is:
<arc:RecAreas xmlns:arc="http://<deleted>/<deleted>/">
<arc:RecArea>
<arc:RecAreaName></arc:RecAreaName>
</arc:RecArea>
</arc:RecAreas>
My sense is that regardless of the schema, the XQueries being generated above
are just not doing what is expected.
I have verified that the default query works. I.E. with no schema mapping the
results appear.
This should be simple. What am I missing?
Also, I would love to have some WebService examples going from database to xml
with schemas that have repeating elements.
Thank you kindly,
- ThomasFound a bug in Workshop causing the problem:
It generated: $input/ns0:getAllRecAreasResult/ns0:RecArea
but should have generated
$input/ns0:RecArea
After scrutinizing $input it was clear that the extra token was superflouous.
"Thomas Charuhas" <[email protected]> wrote:
>
I've been having an issue having a web service return a repeating set
of elements.
The xsd seems correctly formatted with the right structure and maxOccurs
set to
ounbounded etc.
This is the actual service:
public RecArea[] getAllRecAreas()
throws Exception
RecArea[] recAreas = recAreasControl.getRecAreas();
return recAreas;
The RecArea class has public variables as required:
public class RecArea {
public BigDecimal recareaid;
public String recareaname;
When I use the XQuery mapper and connect at the RecArea level and recareaname
level, this is generated:
declare namespace ns0 = "http://www.openuri.org/"
declare namespace ns1 = "http://<deleted>/<deleted>/"
<ns1:RecAreas>
for $RecArea in $input/ns0:getAllRecAreasResult/ns0:RecArea
return
<ns1:RecArea>
<ns1:RecAreaName>{ data($RecArea/ns0:recareaname) }</ns1:RecAreaName>
</ns1:RecArea>
</ns1:RecAreas>
I have of course verifed in the debugger that recAreas is populated by
the function
call and has data. The response from the service is:
<arc:RecAreas xmlns:arc="http://<deleted>/<deleted>/"></arc:RecAreas>
In other words, it's not enumerating the recAreas.
I also tried tying just the recareaname attribute. This creates an XQuery
like
this:
<ns1:RecAreas>
<ns1:RecArea>
<ns1:RecAreaName>{ data($input/ns0:getAllRecAreasResult/ns0:RecArea[1]/ns0:recareaname)
}</ns1:RecAreaName>
</ns1:RecArea>
</ns1:RecAreas>
This looks like it wants to only return the one element.
The result is:
<arc:RecAreas xmlns:arc="http://<deleted>/<deleted>/">
<arc:RecArea>
<arc:RecAreaName></arc:RecAreaName>
</arc:RecArea>
</arc:RecAreas>
My sense is that regardless of the schema, the XQueries being generated
above
are just not doing what is expected.
I have verified that the default query works. I.E. with no schema mapping
the
results appear.
This should be simple. What am I missing?
Also, I would love to have some WebService examples going from database
to xml
with schemas that have repeating elements.
Thank you kindly,
- Thomas -
Characters corrupted converting hpj+rtf to chm help
Hi,
Sorry this was originally posted in htmlhelp but there were no answers so I'm reposting here to see if anyone can help.
I'm trying Robohelp to see if I can use it to create localised versions of our help files.
I have the old .hlp project .hpj file and .rtf files from all of the languages that we need to create.
- For Windows_1252 languages I can use Microsoft's HTML workshop with no problems.
- For non Windows_1252 languages such as Russian (Windows_1251) the htm files created by the MS tool show the correct page content but the Titles and Keywords are corrupted and the href links are missing.
Hence my attempt to try Robohelp.
So far I've found that importing the hpj file and the desired rtf file works fine again for Windows_1252 languages. But that's not much help as I could already create those in the MS tool.
When I try to import the hpj file with a non Windows_1252 rtf file such as Russian, I can create a chm and all of the links seem to be intact, but all of the characters including the page content characters are corrupted.
This can be seen in the htm file displayed in Robohelp as soon as the new project import has finished. I've tried setting the language for all the .htm files to Russian, I've set the language for the project to Russian and I've picked Russian as the language in the .chm build dialog. Unfortunately I think none of these are likely to work as the characters have already been corrupted in the htm files created during the import.
I've tried the Robohelp build on XP with the Locale set to Russian, and I've tried it on Windows 7 x64 with the Russian language pack installed, Russian selected as the display language and Russian set as the Locale.
I notice the codepage in the Robohelp created htm's are set as UTF-8 as opposed to Windows_1251.
I'm pretty sure this is just something I'm doing wrong as the MS HTML Workshop manages to get the correct characters out of the rtf page content.
Any idea where I might be going wrong? Is there someway to define the language of the RTF before the import process?Hi there
Drawing from distant memory here. I believe RoboHelp expects Word DOC files. It saves as .RTF if you create WinHelp files, but I believe the main file type is .DOC. I'm unaware of any way to force it to only work with RTF.
Then again, I never ever claim to know it all about any given subject. So perhaps someone has a clue on how it might be accomplished.
Out of curiosity, if you want CHM files and CHM files are HTML based, why the insistence on RTF as your source? Why not convert to RoboHelp HTML and work with HTML content?
Cheers... Rick
Begin learning RoboHelp HTML 7 within the day - $24.95!
Click here for Adobe Certified Captivate and RoboHelp HTML Training
Click here for the SorcerStone Blog
Click here for RoboHelp and Captivate eBooks -
Generating Web Service with SOAP Header
Hello,
I have a WSDL for a web Service using document encoding and with a soap header.
I generate a jws file using WL Workshop 81.SP4 but I always have this error message :
ERROR: AjoutContactService.jws:13: The binding for AjoutContact does not declare one part.
ERROR: SUGGESTION: A document literal binding must have at most one part. Make sure you have a WSDL that declares just one part for each message with a document literal binding.
The header is a recent adding on an existing Web Service, and I can't change the wsdl definition. I also need to use data contained by the header in conjunction with data in the body.
Is it a limitation with workshop or a problem with with my binding file ?
I give sample of my two wsdl files.
Given wsdl file
<wsdl:message name="inputAjoutContact">
<wsdl:part name="body" element="xsdin:NouveauContact"/>
<wsdl:part name="header" element="xsdinhead:EnTeteRequete"/>
</wsdl:message>
<wsdl:message name="outputAjoutContact">
<wsdl:part name="body" element="xsdout:StatutAjoutContact"/>
</wsdl:message>
<wsdl:message name="faultAjoutContact">
<wsdl:part name="body" element="xsdfault:Exception"/>
</wsdl:message>
<wsdl:portType name="AjoutContactPortType">
<wsdl:operation name="AjoutContact">
<wsdl:input name="ParametresEntree" message="tns:inputAjoutContact"/>
<wsdl:output name="ParametresSortie" message="tns:outputAjoutContact"/>
<wsdl:fault name="ParametresException" message="tns:faultAjoutContact"/>
</wsdl:operation>
</wsdl:portType>
binding file
<wsdl:operation name="AjoutContact">
<soap:operation soapAction="urn:#AjoutContact"/>
<input>
<soap:header part="header" use="literal"/>
<soap:body parts="body" use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
<fault name="ParametresException">
<soap:fault use="literal" name="ParametresException" />
</fault>
</wsdl:operation>Hi,
This appears to be a known limitation and is addressed by CR227689
which has a workaround that needs the wsdl to be modified.
I am not sure if this is possible given that we don't control the wsdl most times.
Could you please open a BEA support case and refer to CR227689?
Vimala-
p.s:
I found some info on the issue which could help:
1) Refer to <http://lists.oasis-open.org/archives/regrep/200306/msg00071.html>
you will see that only one part is allowed in the message part for doc/literal webservices Snippet from the above link
"Also, keep in mind that WS-I BP permits only one <part> on document/literal messages, so to be WS-I compliant, you would have to include it in the message structure. "
2) Refer to http://www.ws-i.org/Profiles/Basic/2003-08/BasicProfile-1.0a.html#refinement35722968 <http://www.ws-i.org/Profiles/Basic/2003-08/BasicProfile-1.0a.html>
below R2208)
"For document-literal bindings, the Profile requires that at most one part, abstractly defined with the element attribute, be serialized into the soap:Body element."
This implies Soap body contains message which contains a at most one part. -
Hello,
I'm evaluating ADF and i went on the Building ADF Application Workshop.
My problem is : you have 2 pages. One with a read-only table and another which allows you to edit one row.
I navigate on the first page to the next set, i select a row to edit. I am redirected to the second page. i make my changes. Then i commit and i come back to the first page. The problem is that when i try to navigate to the next set it doesn't work. The navigation buttons get disabled... Something strange is that if i do a rollback on the second page instead of a commit everything works fine and i can navigate through the sets when back in the first page...
Any expert to tell me what's wrong ?
Thanks a lot.
Seb.writing uppercase means "shouting"
what do you mean with "any solutions is there"? My last question was: Please give us more details. The errornumber you told us is a normal locking problem error and has nothing to do with lost data ...
Maybe you are looking for
-
Slide show in PowerPosint for mac 2011 on iMac will not open full screen mode on secondary monitor. Regardless of how I set the slide show preferences it always opens on primary monior with secondardy monitor having totally balck screen. Need some
-
When i am trying to translate the request xml using request xsd to purchase order xml using purchase order xsd. I used XQuery mappings to Generate the output purchase order xml,but i am getting problems with name spaces,and it is not displaying all t
-
In which Table all ABAP queries store?
Hi Guys, In which Table all ABAP queries store? Thanks, Sa nkar
-
Missing files in "software instrument"
A few days ago, I accidentally deleted some files from my computer and they were names like "YTGSHAKE1X02" just for example. turns out, these files were used in GarageBand's "software instrument" section for things like drum kits and such, and when I
-
Hello there: Is there a way that I can get a specific Row from Access. For example, if I'm trying to pull the info from row 30 what should I do? I've tryied things like rs.getRow(30) and rs.absolute(30) but have had no success. Does anyone know? Rega