This week's book giveaways are in the Cloud and AI/ML forums.
We're giving away four copies each of Cloud Native Patterns and Natural Language Processing and have the authors on-line!
See this thread and this one for details.
Win a copy of Cloud Native PatternsE this week in the Cloud forum
or Natural Language Processing in the AI/ML forum!

Joshua White

Ranch Hand
+ Follow
since Jun 04, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Joshua White

Sam,

I am looking for the same information. Unfortunately, this is not clearly documented in the API or online documents.

Did you figure it out?

Joshua
8 years ago
All,

I am seeing the following warnings in my log files:



The mispelling "onZZZclick" was intentional. The html filters would not let the correct spelling go by. =(

This application is using myfaces 1.1.3 and tomahawk 1.1.2. Is there a way to "disable" these warning messages?

Regards,

Joshua
12 years ago
JSF
When using JAXB or XMLBeans, a java object representation of the xml is created. Has anyone used any tools to map this generated java object to your domain?

Originally I was hoping to skip this step by using Jibx. Unfortunately, using the underlying Jibx api to do custom mapping proved to brittle.

I stumbled upon Dozer (dozer.sourceforge.net). Has anyone used this? What other tools have you used to solve this problem?

Regards,

Josh
12 years ago
Using contract first development, have people defined their own "base" reply message with common status/error msg. components?

Handling exceptions using soap faults does not seem to work very well. Anyone try this or a different approach?

Regards,

Josh
12 years ago
Normally it would. This class however makes use of the Spring Context to get some of its dependencies. If this was a normal Spring servlet, I could create a spring context and insert it into a mock servlet context and initialize the servlet with that. Unfortunately, because this class implements ServiceLifecycle, the init method is now looking for ServletEndpointContext instead.

Any other ideas?

Joshua
12 years ago
Hello,

I am trying to figure out how to write a JUnit test case that can test my service endpoint outside of the servlet container. My axis service endpoint extends springs ServletEndpointSupport but I cannot seem to find any mock objects that will help me initialize this object correctly.

To initialize the servlet, I need to call the init method from the ServiceLifecycle Interface:

init(Object context)

Trouble is, the context here is of the type javax.xml.rpc.server.ServletEndpointContext. As I mentioned earlier, I have been unable to find any Mock objects for this class. Can someone point me to an example?

Regards,

Josh
12 years ago
All,

Currently I am using SOAP RPC. I would like to pass in an XML document as an argument to a method. How would this be done? What should be the type of the argument?

Regards,

Joshua
13 years ago
All,

I am using weblogics jwsc ant task to generate the supporting classes for my soap base web service. I am finding that the mappings that appear in the wsdl file do not reflect my class structure. Say I have the following classes:




Here is my problem. The PetStore class contains an array of Animals (which are really just Cat/Dog/Fish because animal is abstract), but Cat/Dog/Fish do not appear in the WSDL. Only the attribute of the Animal class appears. Am I doing something wrong here

Regards,

Joshua
13 years ago
I am having trouble securing a web service in Weblogic 9.1. Has anyone else gotten this to work?

Regards,

Joshua
13 years ago
Forgive my ignorance here. What is the difference between a .jks file and a .keystore file?

Regards,

Joshua
13 years ago
If either a web application or ejb is generated from your JWS file, how do you declare its datasource? I can't find anything in the documentation that describes how to make sure the database is mapped in the appropriate deployment descriptor file.

Any ideas?

Regards,

Joshua
13 years ago
Looking at the WLS 9.1 docs ( Java User-Defined Data Types) it looks like weblogic took away support for mapping java collections to SOAP arrays!

Does anyone have ideas how to map a java collection to a soap array in WLS 9?

Regards,

Joshua
13 years ago
Using the following:



I have run the above with no luck. I still receive only question marks. Any other ideas?

Regards,

Joshua
13 years ago
All,

when reading a text file containing latin characters (such as the � character), I can read the file and display its contents to the console on windows without a problem.

When I do the same on unix, the special characters are replaced by the '?' character. The strange thing is that when I do a "more" on the command, unix displays the special characters correctly.

If it were a character set thing, I would expect unix to display the file incorrectly using the "more" command.

Any idea what is going on here?

Regards,

Joshua
13 years ago
All,

When using ant 1.6.5, I encountered a problem with weblogic.jar being on the classpath. I have been googling for this error message but have not found a solution to this problem. Any help you can offer would be appreciated. Here is the error message:




I have listed my classpath below. You will notice that the weblogic.jar file appears last.

CLASSPATH
c:\utils\apache-ant-1.6.5\lib\ant.jar;C:\utils\jakarta-oro-2.0.8\jakarta-oro-2.0.8.jar;C:\utils\commons-net-1.4.0\commons-net-1.4.0.jar;C:\bea8\weblogic81\server\lib\weblogic.jar

Regards,

Joshua
14 years ago