Bindings Progmatically
Is there a way to mess with a bound field (using bindings and an array controller) from your code? Currently I have an NSTableView getting its data and storing its data in a binding to an NSArrayController. This specific controller's entity is a subclass of NSManagedObject. All my code is in a seperate controller class. As of right now the user can click a button to open an open file dialog box and select a file which is copied into a folder on the disk. What I want to do is disable the add files button until a record is added to the table but more importantly I want to find a way to take the name field for the selected record and change it to the filename (which I have as string called fileName). I also want to find a way to change another field but so far I am at a loss. The reason my entity is a subclass of NSManagedObject is because I have assigned in the awakeFromInsert to set the date and time when the record was added when it is added using the setValue:forKey method. Upon trying to make an object of the class it will not work. Any thoughts?
Thanks
Tom
Sorry about the typo in the code. (That's what I get for copying from the forum formatted code and not verifying closely enough)
Regarding to use CoreData or not...
It's really hard to say from the description whether or not you'll be better off with or without CoreData unless you have described everything your program. If this is everything your program does, then I would not bother with CD (and CD may be a hindrance).
You can use the behaviors of NSTableView and NSArrayController similar to the way they work now. If there is only one property you need to access (fileName) it will probably be easier for you to forget CD... It depends on how it works for you now and the object of your application. If you're new to Cocoa and really don't need CoreData for your app, I would suggest not using it because CD is not a simple technology. There's a lot that happens behind the scenes, that you get for free but may cause some difficult problems in the future.
If you are trying to learn how this is set up or eventually trying to use CD extensively, you'll find a gentler introduction by doing it programmatically(+bindings) without CD. It will still be a good introduction to KVC and bindings technology. I think it would be a better introduction than the CoreData model, because CD generates most of the code and connections through the developer tools... basically hiding what you'll need to know to use KVC & bindings effectively. As far as implementation (and from the description), it should be easier to write without CD.
Hopefully that all makes sense. I'm assuming that (while you are new to Cocoa), you are not new to programming altogether and can easily write this program using another environment/language.
J
Similar Messages
-
Hi All,
I'm new to ADF and trying to learn it.
I'm using JDev version 11.1.1.6.0.
My use case is mention below :
1. I've created 2 Bounded task flows and calling one task flow from another task flow using task flow call activity.
2. In child task flow, i've created view activities with Train component. View activities have text fields, radios buttons, tables etc which can be filled by user.
3. I want to save the page data to payload if I move to next view activity using Next button or by train bar.
To accomplish this scenario, I'm calling a customized actionListener on click of Next button/Train Stop Bar in which I'm using below mention code :
BindingContext bindingContext = BindingContext.getCurrent();
BindingContainer bindings = bindingContext.getCurrentBindingsEntry();
OperationBinding obj = bindings.getOperationBinding("update");
if(obj != null){
obj.execute();
if(!obj.getErrors().isEmpty()){
System.out.println("Not able to save data......");
else{
System.out.println("able to save data......");
But I'm not able to save page data to payload/bindings. If i close the window using browser close button and move back to previous train stop in which i've filled the data, the data get lost and all the text fields/Radio button become empty.
If I use Save button provided by Oracle BPM, then I'm able to save it. and data reflected even after if i close the window using browser close button.
So I also try to use the below acode but did not get any success :
FacesContext fctx = FacesContext.getCurrentInstance();
Application app = fctx.getApplication();
ELContext elContext = FacesContext.getCurrentInstance().getELContext();
InvokeActionBean invokeActionBean = (InvokeActionBean)app.getELResolver().getValue(elContext, null, "invokeActionBean");
invokeActionBean.setAction(actionEvent);
invokeActionBean.action();
Can somebody please let me know, what am I doing wrong here or if I'm missing anything.
Any pointers/suggestions for its resolution are welcome.
Thanks in advance.Hi Timo,
Yes, it is the same binding which is called from BPM Save button.
I did not use the debugger but i tried to print the OperationBinding object which was showing me proper binding for update.
Even when i tried to print the return value of invokeActionBean.action(); method, it print the proper string "closeTaskFlow".
So if I see it logically, then I'm just trying to call the methods of InvokeActionBean from my customized method.
If methods of InvokeActionBean not being accessed, or if it was not getting called, then it should not print the "closeTaskFlow" as return value.
I only want to save page data into bindings once I'll move away from page precisely on moving next.
If there is any other work around for this issue, please let me know.
I've also tried to use Explicit/Implicit save points provided by ADF but that did not work too. -
Sharepoint 2013 AAMs and IIS 7 bindings
Hi everybody,
I have a server running Sharepoint Foundation 2013 and IIS7.
On the IIS7 there was already a website running on port 80. Now I have configured a sharepoint site running at port 31600. From internal network everything is working fine. But from the internet only the website on port 80 is working, I cannot reach the
SP site. I assume I made some mistake between IIS bindings and Sharepoint AAMs, but I don't know whats wrong.
This is the current configuration:
Website Bindings in IIS
http:*:80:webapp.company.com,http:10.10.40.4:80:
Sharepoint site bindings in IIS
http:10.10.40.4:31600:,http:*:31600:webapp.company.com
(10.10.40.4 is the internal IP address)
AAM settings in Sharepoint
InternalURL:Zone:PublicURL
http://servername:31600:default:http://servername:31600
http://webapp.company.com:31600:Internet:http://webapp.company.com:31600
As I said: internal access is fine to both sites, from external the SP site is is not reachable. Any help is appreaciated.Do you have TCP/31600 open on your firewall/router and mapped correctly to your SharePoint server? Is the 'webapp' A record registered in the DNS zone 'company.com' externally?
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Values from event and from bindings are not same in valueChangeListener
Hi, in a valueChangeListener method of an af:selectOneChoice component I get
the new value from the event with:
valueChangeEvent.getNewValue()
and from bindings with:
JsfUtils.getExpressionValue("#{bindings.Parflag.inputValue}")
But the value from bindings is the previous value set in UI.
Why is this happening? In ADF Page lifecycle manual it is referenced that “update model values” face runs before “invoke application” so why the value in bindings is the previous value?
Any comment will be helpful,
Thanks.That’s right.
Could anyone comment why a valueChangeListener is regarder as a
Validation Process and not an Application Action that commits business changes.
I mean if I need a validator I can put an f:validator to the component and that’s all.
The immediate attribute didn’t change the result, the method is run before bindings set. -
Performance issues with LOV bindings in 3-tier BC4J architecture
We are running BC4J and JClient (Jdeveloper 9.0.3.4/9iAS 9.0.2) in a 3-tier architecture, and have problems with the performance.
One of our problems are comboboxes with LOV bindings. The view objects that provides data for the LOV bindings contains simple queries from tables with only 4-10 rows, and there are no view links or entity objects to these views.
To create the LOV binding and to set the model for the combobox takes about 1 second for each combobox.
We have tried most of tips in http://otn.oracle.com/products/jdev/tips/muench/jclientperf/index.html, but they do not seem to help on our problem.
The performance is OK (if not great) when the same code is running as 2-tier.
Does anyone have any good suggestions?I can recommend that you look at the following two bugs in Metalink: Bug 2640945 and Bug 3621502
They are related to the disabling of the TCP socket-level acknowledgement which slows down remote communications for EJB components using ORMI (the protocol used by Oracle OC4J) to communicate between remote EJB client and server.
A BC4J Application Module deployed as an EJB suffers this same network latency penalty due to the TCP acknowledgement.
A customer sent me information (that you'll see there as a part of Bug# 3621502) like this on a related issue:
We found our application runs very slow in 3-Tier mode (JClient, BC4J deployed
as EJB Session Bean on 9iAS server 9.0.2 enterprise edition). We spent a lot
of time to tune up our codes but that helped very little. Eventually, we found
the problem seemed to happen on TCP level. There is a 200ms delay in TCP
level. After we read some documents about Nagle Algorithm, we disabled a
registry key (TcpDelAckTicks) in windows2000 on both client and server. This
makes our program a lot faster.
Anyway, we think we should provide our clients a better solution other than
changing windows registry for them, for example, there may be a way to disable
that Nagle's algorithm through java.net.Socket.setTcpNoDelay(true), in BC4J,
or anywhere in our codes. We have not figured out yet.
Bug 2640945 was fixed in Oracle Application Server 10g (v9.0.4) and it now disables this TCP Acknowledgement on the server side in that release. In the BugDB, I see backport patches available for earlier 9.0.3 and 9.0.2 releases of IAS as well.
Bug 3621502 is requesting that that same disabling also be performed on the client side by the ORMI code. I have received a test patch from development to try out, but haven't had the chance yet.
The customer's workaround in the interim was to disable this TCP Acknowledgement at the OS level by modifying a Windows registry setting as noted above.
See Also http://support.microsoft.com/default.aspx?kbid=328890
"New registry entry for controlling the TCP Acknowledgment (ACK) behavior in Windows XP and in Windows Server 2003" which documents that the registry entry to change disable this acknowledgement has a different name in Windows XP and Windows 2003.
Hope this info helps. It would be useful to hear back from you on whether this helps your performance issue. -
Progmatically stop vi with producer/consumer architecture
I can't seem to get my VI to fully stop, so that I can go on to do some more things in the program. I am trying to progmatically stop the vi (pictured below), so that I can return to my main gui (not pictured). The main gui just consists of a login, exit test system, and run test. Once the user presses run test, the vi pictured below opens.
I am using a producer/consumer architecture with a state machine. The problem I run into is that when I press the "Main Menu" button, it should close the pictured vi and return to the main gui. I tried using the vi server, and when the user presses the Main Menu button, it fires an event and then it goes to the Stop state in the consumer loop, which opens a reference to the vi's (one for the strip chart vi and another for the gage vi), closes the front panel using an invoke node and then closing the reference. I also tried adding in the abort vi method after the close front panel and it still gave me the same result.
Here is the catch, it does close the vi's, but it does not stop the while loops (producer and consumer), or it stops only one of the loops. I thought of putting in a constant in the event structure for when the Main Menu event is fired, but that will stop the producer loop before the consumer loop reveices the info to go to the stop state, so the consumer loop does not end.
I also tried a "dummy" control that was connected to the comsumer loop Stop terminal (for the while loop), and then progmatically changed the value in the stop case to true and then read that value in the producer loop to, hopefully, stop both loops, but it did not work either.
I am sure that it is something so stuipidly simple that I cant see it right now
Kenny
Kenny
Attachments:
test system.gif 252 KBHi Kenny,
I think of two solutions to your problem. First, use the message queue to pass the message "stop" or something from producer to consumer or second (and I think, better), use occurrences. I made a little draft how it could work.
You have to pass the occurence- Refnum to both VIs, the producer and the consumer, when the producer finishes execution, then use "Set Occurence".
In the consumer blockdiagram you react on the generated occurrence.
If you set in the VI- properties "Open Frontpanel when called" and "Close if originally..." the VI Frontpanel should disappear itself when execution is stopped.
Hope this helps,
Dave
Message Edited by daveTW on 08-14-2006 04:53 PM
Greets, Dave
Attachments:
occurrence 1.png 1 KB
occurrence 2.png 5 KB -
Hello Experts,
We recently upgraded from JDeveloper 11.1.1.4.0 to version 11.1.2.2.0.
We've noticed that if you open the page bindings for a JSPX page, and then double click on anything, like a methodAction binding, it's takes a REALLY long time for the binding editor popup window to appear. By long time, I'm mean about 1/2 hour! While this is going on, I noticed that on the bottom left-hand side of the JDeveloper status bar it says "loading <view name>...", for about 10-20 seconds and then it repeats that for the next view object in our model project. We have about 180 view objects total in our project.
Does anyone know of any settings that can help speed this up?
Thanks in advance,
-SpiroHi,
after the import of the 11.1.1.4 project, can you try "Build --> Clean All" ? Also, does this reproduce on 11.1.2.3 (the recent 11g R2 build) as this is the build a bug would need to be filed for if it turns out to be a migration problem
Frank -
Control-k key binding broken. How can I check and change my key bindings?
I use the Terminal app a lot. Unfortunately I am not able to use the control-k shortcut to cut lines in the terminal anymore. How can I check (and change) the Terminal key bindings?
Thank you!Basing on your input, you should get the following values:
1) session keys
SK_ENC: 6DCE2A99BACB5207A7A96A92F114D66C
SK_MAC: 0D446132B168F75CD6F0A780693A4DD3
SK_DEK: 19F7B0F94837F32874B29B5EFB7809F6
2) host cryptogram
1B781553209748EA
3) Retail MAC
01761103B810F00E
Summing up, the External Authenticate command should have the following value: 84 82 01 00 10 1B781553209748EA 01761103B810F00E.
Try to compare it with your results.
Regards -
How to cast a parameter from ${bindings.myParam} which is Number to String
I have a button which sets a param in request so I do sth like this in event on uix page:
<set property="param_id" target="${requestScope}" value="${bindings.myParam.attributeValue} "/>
but that myParam is Number (not String). And I have java.lang cast exception.
What should I do to cast it?I'm sure there is a simpler way but i guess this works:
<bean:define id="num" name="bindings" property="myParam.attributeValue" type="Number"/>
<set property="param_id" target="${requestScope}" value="<%num.tostring()%>"/>This is not tested! One other thing to check is JSTL FMT formatNumber but i don't remember the syntax. -
Dreamweaver 8 bindings - to MySQL, error code 500
Hello!
Well, I've spent five days searching online forums, and a few
posts come close to my problem, but not getting any clues to a
solution. I hope one of the resident experts or members could shed
some light...
Windows XP
Dreamweaver 8.0.2 (just upgraded - same problem)
- Used setup-v1.17-apache-2.2.2-win32.exe for setup - from
devside.net PHP 5.2.0-dev MySQL 4.1.7 (installed new after package.
Have two instances of mysql on my system - one active, one in
manual-inactive)
- All was going well until trying to establish bindings in
Dreamweaver. PHP is up and running. MySQL loaded, and database
connection fine. Bindings gets the error... "HTTP Error Code 500
Internal Server Error"
Just getting back to it... Again, thank you for your help!
Dreamweaver 8 has support for PHP 5. Version I'm using is
5.2.0. MX specifies versions 4.x and above are required. I'll have
to research if the support cuts off at 5.0.
My Connections file: conn_newland.php (I'm following the book
tutorial):
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_conn_newland = "localhost";
$database_conn_newland = "newland_tours";
$username_conn_newland = "root";
$password_conn_newland = "";
$conn_newland = mysql_pconnect($hostname_conn_newland,
$username_conn_newland, $password_conn_newland) or
die(mysql_error());
$Recordset1 = mysql_query("SHOW variables", $Connection1);
echo "<table border=1 width=100%>";
while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)) {
echo
"<tr><td>".$row_Recordset1['Variable_name']."</td><td>".$row_Recordset1['Value']."</td></ tr>";
echo "</table>";
?>
Recordset parameters I entered in bindings:
Name: rs_journal
Connection: conn_newland
Table: tbl_journal
Columns: Selected - journalID, journal_entry
Filter: none
Sort: journalID Descending
Clicking Test gives: "HTTP Error Code 500 Internal Server
Error"
By the way, the reason I didn't specify a password in "root'
is that I had a problem before that I didn't know enough to
overcome, so had to reinstall MySQL. However, the same error occurs
if I specify another user name and password (previously set up).
7:30 pm -
Adding to this post...
I found the following at
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16515.
However, it appears it may be referring only to Dreamweaver MX 2004
on Mac OS X. I have Dreamweaver 8 on Windows XP:
Verify that the connection scripts are up on the server
This section is related to the section above. In a web
browser, browse to the URL prefix you have defined in the Testing
Server category of the site definition and add
/_mmServerScripts/MMHTTPDB.php. For example:
http:/myserver/mysite/_mmServerScripts/MMHTTPDB.php. If things are
working correctly, you should see something like the following text
returned in the web browser:
Notice: Undefined index: Type in
c:\inetpub\wwwroot\mysite\_mmServerScripts\MMHTTPDB.php on line 13
Notice: Undefined variable: oConn in
c:\inetpub\wwwroot\mysite\_mmServerScripts\MMHTTPDB.php on line 20
When I go to the file above, this is the message I receive
(only thing that appears):
The files from the _mmServerScripts folder are for the server
model PHP-MySQL. You try to connect to a database using a different
server model . Please remove this folder outside the Dreamweaver
environment on both local and testing machines and try again.\n
Is there a hint here of what the problem is? I need some help
in possible interpretations.
Previous attempts made to solve:
- re-installed MySQL with mysql-5.0.24-win32.zip in
recommended directory (outside the www directory). I now have two
instances of MySQL on my local server - one set to automatic
loading and the other manual (switched off)
- one post suggested problem might be with ODBC - installed
SQL ODBC with mysql-connector-odbc-3.51.12-win32.msi. However, I
don't have a clue as to whether it's connected to anything...
- successfully connected to SQL database through root without
password and specific logon and password. No difference.
- other posts suggest problem could reside in php.ini,
htaccess, my.ini (SQL). I know where to find them, but don't have
an understanding of what parameters to shift, if any. One post
suggested a port problem, and I did see a port problem, presently
set to 3306.
From what I've been able to gather, this has been recognized
as an issue before, but there doesn't seem to be any documentation
online (or at least what I've been able to find) dealing with this.
And any mention of the problem that I've seen references
Dreamweaver MX, not 8, although I don't think the version
difference is a significant issue.
This error must be relatively rare, or I'd see more out there
about it. Still, I hope that at least one of the community experts
may have come across it.
Will be waiting with bated breath -- at least for a few
days...
Thanks!
JoeHello,
I have also had the same error - namely that whilst I could connect via ftp, upload/download files, and view database tables, any attempt to view of modify recordsets resulted in error 500.
Having checked other potential causes (e.g. selection/non-selection use of passive FTP setting, enabling of php, etc.), on the back of posts here I contacted my host and asked if if could relate to mod security, as further investigation revealed that the issue only occurred on sites where mod security had not been disabled (I don't like to disable mod security for obvious reasons - and I'm told you can't do that site by site with apache2 anyway).
After a few false starts, the problem was resolved - with the following response from my host: "The false positives were being generated by "/_mmServerScripts/MMHTTPDB.php" and that is what we've worked around in the rules. As such, any domain on [servername] using that script in the same way shouldn't generate a false-positive moving forward."
So it seems the answer (assuming your on an apache server of course) may be to modify the rules to allow full access for MMHTTPDB.php.
I hope that is of help to some. -
Do I need to use Bindings?
Hi All
I wonder if you can help
I have a class (driver.m) that takes an input from a USB device (the callback function is embedded into the class and passes data back to the instance of the class).
There are a number of instance variables that change depending on the incoming data.
say
int analog1;
How do I monitor the data coming into that class in a cocoa window.
For instance analog1 has constantly changing data as a int value 0-255 which I wish to view in a NSLevelindicator.
Should I be using bindings for this type of thing as most of the bindings demos seem to be on cocoa elements changing cocoa elements.
If you could point me in the right direction I would appreciate it
Cheers
SteveSo if you take the following:
@interface Driver : NSObject
int driverValue;
@property (readwrite, assign) int driverValue;
@end
@implementation Driver
@synthesize driverValue;
@end
Then elseware
Driver *instance1 = [[Driver alloc] init];
Driver *instance2 = [[Driver alloc] init];
I should be able to set up a slider for the driverValue of instance1 and a separate slider for driverValue of instance2?
Beacuse in interface builder when I create an object (blue qube) I can set the class to Driver and I can set the bind to driverValue. But I can't see were I tell IB which instance this is belonging to. So even if I do a second object (blue qube) I can only duplicate what I have already done I can't see were I assign one (blue qube) to instance1 and the other to instance2. -
Cocoa Bindings don't update UI when Model changes?
Has anyone found a solution to this problem? I read all the Troubleshooting info at Apple and just about wore out the KVC/KVO and Cocoa Bindings documentation.
I've got one TableView that updates fine, and two others that don't when the Model is modified.
The Model: class VoterController, the variable is an NSMutableArray "playerArray" that contains 7 NSMutableDictionaries, read in from an XML plist. I set the @property and the @synthesize for it. You can't bind a Model, so no bindings for the array.
The View: an NSTableView with one column. The column is bound to the voterController listed below.
Column Binding:
Bind To: voterController
Controller Key: arrangedObjects
Model Key Path: playerName (a key in each dictionary)
The Controller: an NSTableViewController, class NSTableViewController.
Bindings for this controller:
Bind To: mainController
Model Key Path: playerArray (the NSMutableArray)
Controller "mainController":
A simple NSObject (not an Object Controller despite the name) that has its class set as "VoterController", which is the class of the Model object (the array of dictionaries).
Now the thing that has me stumped is that this NSTableView reads the Model data fine but does not respond to changes in it. In other words, if I delete one of the array elements, it does not show up in the View until I re-launch the app and it reads the changed XML from disk.
Even more strange, I have another tableView that DOES dynamically change as I change values for any of the keys in the dictionaries that are the elements of the array. This working tableView has the bindings for each of its 5 columns as follows:
Bind To:voterController
Controller Key: arrangedObjects
Model Key Path: playerName, voteCount, role, etc. for each column. Each of these is a key in the dictionaries. If I change programmatically any of the values of these keys, they are immediately changed in the View.
Apple says the most common reason for Views not updating is non-KVO compliance in the model property. I have the array @property and @synthesize compiler directives, and one View updates and another does not, on the same controller.
I dunno - I don't expect a solution but any tips I will rush off and try. Thanks in advance."Is this because VIs which use ConfigData_v1.ctl were not loaded into memory at the time when I made the change to the typedef?"
In short: Yes. Only the callers in memory are updated.
=====================================================
Fading out. " ... J. Arthur Rank on gong." -
How do I create only SOAP WSDL bindings when deploying my ESB?
Currently when I use either jDeveloper or the ant deployESBSuitcase task to deploy the ESB that is the entry point to my application I get two bindings in the deployed wsdl. One soap binding that my client will be using and another esb binding. Is it possible to modify the deployment plan to only generate the SOAP binding? Do I need to have the esb binding for an esb that is only used as the entry point to my application? I would prefer to have the wsdl that is exposed to my clients to not have the vendor extensions if possible.
thanksI have experienced the exact same problem. There is no good solution to these poorly designed and overly complex login protocols. After unsuccessfully trying to retrieve my password or change my password I finally set up a new email account, a new Apple ID and a new iTunes account.
I know it is not a good solution, but it worked. -
hi!!!
Could you pls point to any code example.
thanks
Pushpa
"Richard Berger" <[email protected]> wrote:
>
Manoj: Thanks for the answer - do you have or can you point me at any
code samples
that accomplish this? (Yes, .NET is limited to strings/ints in their
get/post
bindings).
Thanks so much!
RB
PS - Also, can you explain any apparent discrepancy between your answer
and what
the WL documentation stated (again, it may be my misunderstanding).
"manoj cheenath" <[email protected]> wrote:
WL 7.0 does allow you to access the web service through
the browser. It even allows you to invoke service methods
with complex type arguments (.Net only supports primitive
types) and also to view the request and response soap
message for the invocation.
regards,
-manoj
"Richard Berger" <[email protected]> wrote in message
news:[email protected]...
This might be a naive question, but according to the documentation,WL 7.0
does
not support http post/get bindings for web services. Thus, for meto
access a
web service, I need to write a "middle tier" of some sort (I used
the
automatically
generated Java proxy code and JSP). All works fine, but it seems
like
it
would
sure be nice to have HTML forms access web services without havingto
write a
middle tier.
NET does this and it is extremely useful - is there a reason that
BEA
chose not
to provide this feature? (e.g. is it architecturally unsound in anyway?
or is
there an easy way to simulate it?). Given some of the Web Workshoppositioning
re: ease of use and .NET comparison, this seems like an omission.
Any insights are greatly appreciated.
Enjoy,
RB
PS - Here's the info from the documentation
Web Services Description Language (WSDL) 1.1 Specification
WSDL is an XML-based language that describes Web services. WSDL definesWeb services
as a set of endpoints operating on messages; these message containeither
message-style
or RPC-style information. The operations and messages are describedabstractly
in WSDL, and then bound to a concrete network protocol and messageformat
to define
an endpoint. Related concrete endpoints are combined into abstractendpoints (services).
WSDL is extensible to allow the description of endpoints and theirassociated
messages regardless of what message formats or network protocols areused
to communicate,
however, the only bindings described in the specification describehow to
use
WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
Note: WebLogic Server supports only SOAP 1.1 bindings.
The WSDL 1.1 Specification is available at http://www.w3.org/TR/wsdl.This isn't a straight FORM Post as in the http binding support in WSDL. It posts
a soap message.
It's apparent that Workshop supports form-post and form-get.
But I dont see how it is done with straight WebLogic webservices. Does WebLogic
server read the web-services.xml or the WSDL file? I dont see a way to put in
http-post binding in the former and in the latter it seems to be ignored.
Can someone clarify.
Thanks.
Chu-chi
"manoj cheenath" <[email protected]> wrote:
Here is a live example:
http://65.193.192.35:7001/base/SoapInteropBaseService
Here is an example that you can download:
http://manojc.com/?sample2
This is how you run it:
http://manojc.com/?tutorial/doc/howtorun.html
More info can be found from the edocs:
7.0:
http://edocs.bea.com/wls/docs70/webserv/index.html
8.1:
http://edocs.bea.com/wls/docs81/webserv/index.html
Regards,
-manoj
http://manojc.com
"pushpa krishna" <[email protected]> wrote in message
news:[email protected]...
hi!!!
Could you pls point to any code example.
thanks
Pushpa
"Richard Berger" <[email protected]> wrote:
Manoj: Thanks for the answer - do you have or can you point me at
any
code samples
that accomplish this? (Yes, .NET is limited to strings/ints in their
get/post
bindings).
Thanks so much!
RB
PS - Also, can you explain any apparent discrepancy between your answer
and what
the WL documentation stated (again, it may be my misunderstanding).
"manoj cheenath" <[email protected]> wrote:
WL 7.0 does allow you to access the web service through
the browser. It even allows you to invoke service methods
with complex type arguments (.Net only supports primitive
types) and also to view the request and response soap
message for the invocation.
regards,
-manoj
"Richard Berger" <[email protected]> wrote in message
news:[email protected]...
This might be a naive question, but according to the documentation,WL 7.0
does
not support http post/get bindings for web services. Thus, for
me
to
access a
web service, I need to write a "middle tier" of some sort (I used
the
automatically
generated Java proxy code and JSP). All works fine, but it seems
like
it
would
sure be nice to have HTML forms access web services without havingto
write a
middle tier.
NET does this and it is extremely useful - is there a reason that
BEA
chose not
to provide this feature? (e.g. is it architecturally unsound in
any
way?
or is
there an easy way to simulate it?). Given some of the Web Workshoppositioning
re: ease of use and .NET comparison, this seems like an omission.
Any insights are greatly appreciated.
Enjoy,
RB
PS - Here's the info from the documentation
Web Services Description Language (WSDL) 1.1 Specification
WSDL is an XML-based language that describes Web services. WSDL
defines
Web services
as a set of endpoints operating on messages; these message containeither
message-style
or RPC-style information. The operations and messages are describedabstractly
in WSDL, and then bound to a concrete network protocol and messageformat
to define
an endpoint. Related concrete endpoints are combined into abstractendpoints (services).
WSDL is extensible to allow the description of endpoints and theirassociated
messages regardless of what message formats or network protocols
are
used
to communicate,
however, the only bindings described in the specification describehow to
use
WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
Note: WebLogic Server supports only SOAP 1.1 bindings.
The WSDL 1.1 Specification is available at http://www.w3.org/TR/wsdl. -
Why doesn't WL7.0 support get/post bindings for web services ...
This might be a naive question, but according to the documentation, WL 7.0 does
not support http post/get bindings for web services. Thus, for me to access a
web service, I need to write a "middle tier" of some sort (I used the automatically
generated Java proxy code and JSP). All works fine, but it seems like it would
sure be nice to have HTML forms access web services without having to write a
middle tier.
.NET does this and it is extremely useful - is there a reason that BEA chose not
to provide this feature? (e.g. is it architecturally unsound in any way? or is
there an easy way to simulate it?). Given some of the Web Workshop positioning
re: ease of use and .NET comparison, this seems like an omission.
Any insights are greatly appreciated.
Enjoy,
RB
PS - Here's the info from the documentation
Web Services Description Language (WSDL) 1.1 Specification
WSDL is an XML-based language that describes Web services. WSDL defines Web services
as a set of endpoints operating on messages; these message contain either message-style
or RPC-style information. The operations and messages are described abstractly
in WSDL, and then bound to a concrete network protocol and message format to define
an endpoint. Related concrete endpoints are combined into abstract endpoints (services).
WSDL is extensible to allow the description of endpoints and their associated
messages regardless of what message formats or network protocols are used to communicate,
however, the only bindings described in the specification describe how to use
WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
Note: WebLogic Server supports only SOAP 1.1 bindings.
The WSDL 1.1 Specification is available at http://www.w3.org/TR/wsdl.Manoj: Thanks for the answer - do you have or can you point me at any code samples
that accomplish this? (Yes, .NET is limited to strings/ints in their get/post
bindings).
Thanks so much!
RB
PS - Also, can you explain any apparent discrepancy between your answer and what
the WL documentation stated (again, it may be my misunderstanding).
"manoj cheenath" <[email protected]> wrote:
WL 7.0 does allow you to access the web service through
the browser. It even allows you to invoke service methods
with complex type arguments (.Net only supports primitive
types) and also to view the request and response soap
message for the invocation.
regards,
-manoj
"Richard Berger" <[email protected]> wrote in message
news:[email protected]...
This might be a naive question, but according to the documentation,WL 7.0
does
not support http post/get bindings for web services. Thus, for meto
access a
web service, I need to write a "middle tier" of some sort (I used theautomatically
generated Java proxy code and JSP). All works fine, but it seems likeit
would
sure be nice to have HTML forms access web services without havingto
write a
middle tier.
NET does this and it is extremely useful - is there a reason that BEAchose not
to provide this feature? (e.g. is it architecturally unsound in anyway?
or is
there an easy way to simulate it?). Given some of the Web Workshoppositioning
re: ease of use and .NET comparison, this seems like an omission.
Any insights are greatly appreciated.
Enjoy,
RB
PS - Here's the info from the documentation
Web Services Description Language (WSDL) 1.1 Specification
WSDL is an XML-based language that describes Web services. WSDL definesWeb services
as a set of endpoints operating on messages; these message containeither
message-style
or RPC-style information. The operations and messages are describedabstractly
in WSDL, and then bound to a concrete network protocol and messageformat
to define
an endpoint. Related concrete endpoints are combined into abstractendpoints (services).
WSDL is extensible to allow the description of endpoints and theirassociated
messages regardless of what message formats or network protocols areused
to communicate,
however, the only bindings described in the specification describehow to
use
WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
Note: WebLogic Server supports only SOAP 1.1 bindings.
The WSDL 1.1 Specification is available at http://www.w3.org/TR/wsdl.
Maybe you are looking for
-
In Pages 5.5.3, How to stop automatic numbering of Lines & Paragraphs?
How can I stop the A. B. on the extreme left of the page? Anything I try screws up the rest of the formatting. I see nothing in Prefernces to stop this.
-
I have amended text within the design field and selected "Brush Script MT Italic. In the design view in Dreamweaver CS5 it appears in this script but when I preview it either in Dreamweaver "preview in browser" or after uploading and viewing in brow
-
Is there a way to find out where iMessages are coming from? I've contacted security personnel at my school and I'm brig harassed. I just want it to stop.
-
Hi! I would like to purchase WD My Cloud Personal Storage drive. However I have question and I can not find the answer I´m looking for. Today my iTunes folder is located on an external drive which is connected to my Mac via usb cable. This set up all
-
RV082 port forwarding limited to 30 entries ?
Hello, we use RV082 as main gateway and need to open/forward around 50 ports to inside. But during setting of the rules I got an error message "The max of Port Range Forwarding is 30 entries. You can't add any more.". In the online help is explicitel